diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt index 2bc1cfa9d..2d3608ebd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt @@ -130,7 +130,9 @@ fun SimpleActivity.launchAbout() { } fun BaseSimpleActivity.handleMediaManagementPrompt(callback: () -> Unit) { - if (isRPlus() && resources.getBoolean(R.bool.require_all_files_access)) { + if (canManageMedia() || isExternalStorageManager()) { + callback() + } else if (isRPlus() && resources.getBoolean(R.bool.require_all_files_access)) { if (Environment.isExternalStorageManager()) { callback() } else {