mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix missing photos in gallery.
This commit is contained in:
@@ -145,7 +145,9 @@ public class StorageUtil {
|
||||
}
|
||||
|
||||
public static boolean canOnlyReadSelectedMediaStore() {
|
||||
return Build.VERSION.SDK_INT >= 34 && Permissions.hasAll(AppDependencies.getApplication(), Manifest.permission.READ_MEDIA_VISUAL_USER_SELECTED);
|
||||
return Build.VERSION.SDK_INT >= 34 &&
|
||||
Permissions.hasAll(AppDependencies.getApplication(), Manifest.permission.READ_MEDIA_VISUAL_USER_SELECTED) &&
|
||||
!Permissions.hasAny(AppDependencies.getApplication(), Manifest.permission.READ_MEDIA_IMAGES, Manifest.permission.READ_MEDIA_VIDEO);
|
||||
}
|
||||
|
||||
public static boolean canReadAllFromMediaStore() {
|
||||
|
||||
Reference in New Issue
Block a user