sdk 30 changes

- remove handleSAFDialogSdk30 for source paths since we have READ permission
This commit is contained in:
darthpaul 2022-03-19 19:49:16 +00:00
parent 4a3e502484
commit fa991847fb

View file

@ -250,11 +250,7 @@ fun BaseSimpleActivity.tryCopyMoveFilesTo(fileDirItems: ArrayList<FileDirItem>,
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)
}
}
}