lets allow closing the All files prompt by clicking outside
This commit is contained in:
parent
af336e1cd1
commit
00a7427443
2 changed files with 4 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -10,3 +10,6 @@ keystore.jks
|
||||||
keystore.properties
|
keystore.properties
|
||||||
/app/src/proprietary/assets/pesdk_license
|
/app/src/proprietary/assets/pesdk_license
|
||||||
/app/src/proprietary/assets/vesdk_license
|
/app/src/proprietary/assets/vesdk_license
|
||||||
|
fastlane/fastlane.json
|
||||||
|
Gemfile
|
||||||
|
Gemfile.lock
|
||||||
|
|
|
@ -134,7 +134,7 @@ fun BaseSimpleActivity.handleMediaManagementPrompt(callback: () -> Unit) {
|
||||||
if (Environment.isExternalStorageManager()) {
|
if (Environment.isExternalStorageManager()) {
|
||||||
callback()
|
callback()
|
||||||
} else {
|
} 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) {
|
if (success) {
|
||||||
try {
|
try {
|
||||||
val intent = Intent(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION)
|
val intent = Intent(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION)
|
||||||
|
|
Loading…
Reference in a new issue