mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
Fix crash when opening camera without storage permissions.
This commit is contained in:
@@ -32,6 +32,7 @@ class MediaCaptureRepository(context: Context) {
|
||||
if (!StorageUtil.canReadFromMediaStore()) {
|
||||
Log.w(TAG, "Cannot read from storage.")
|
||||
callback(null)
|
||||
return
|
||||
}
|
||||
|
||||
SignalExecutors.BOUNDED.execute {
|
||||
|
||||
Reference in New Issue
Block a user