lets allow closing the All files prompt by clicking outside

This commit is contained in:
tibbi 2022-07-14 10:12:34 +02:00
parent af336e1cd1
commit 00a7427443
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View file

@ -10,3 +10,6 @@ keystore.jks
keystore.properties
/app/src/proprietary/assets/pesdk_license
/app/src/proprietary/assets/vesdk_license
fastlane/fastlane.json
Gemfile
Gemfile.lock

View file

@ -134,7 +134,7 @@ fun BaseSimpleActivity.handleMediaManagementPrompt(callback: () -> Unit) {
if (Environment.isExternalStorageManager()) {
callback()
} else {
ConfirmationAdvancedDialog(this, "", R.string.access_storage_prompt, R.string.ok, 0, false) { success ->
ConfirmationAdvancedDialog(this, "", R.string.access_storage_prompt, R.string.ok, 0, true) { success ->
if (success) {
try {
val intent = Intent(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION)