From fa991847fb0d63eeccc69a8d4bf500425c1d00a8 Mon Sep 17 00:00:00 2001 From: darthpaul Date: Sat, 19 Mar 2022 19:49:16 +0000 Subject: [PATCH] sdk 30 changes - remove handleSAFDialogSdk30 for source paths since we have READ permission --- .../simplemobiletools/gallery/pro/extensions/Activity.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 49e992678..f2ccfef4e 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 @@ -250,11 +250,7 @@ fun BaseSimpleActivity.tryCopyMoveFilesTo(fileDirItems: ArrayList, val destination = it handleSAFDialog(source) { if (it) { - handleSAFDialogSdk30(fileDirItems[0].path){ - if (it) { - copyMoveFilesTo(fileDirItems, source.trimEnd('/'), destination, isCopyOperation, true, config.shouldShowHidden, callback) - } - } + copyMoveFilesTo(fileDirItems, source.trimEnd('/'), destination, isCopyOperation, true, config.shouldShowHidden, callback) } } }