diff --git a/src/org/thoughtcrime/securesms/mms/AttachmentManager.java b/src/org/thoughtcrime/securesms/mms/AttachmentManager.java index 0077fecce5..2180f5958e 100644 --- a/src/org/thoughtcrime/securesms/mms/AttachmentManager.java +++ b/src/org/thoughtcrime/securesms/mms/AttachmentManager.java @@ -444,6 +444,10 @@ public static void selectDocument(Activity activity, int requestCode) { } public static void selectGallery(Activity activity, int requestCode) { + // to enable camera roll, + // we're asking for "gallery permissions" also on newer systems that do not strictly require that. + // (asking directly after tapping "attachment" would be not-so-good as the user may want to attach sth. else + // and asking for permissions is better done on-point) Permissions.with(activity) .request(Permissions.galleryPermissions()) .ifNecessary()