Merge branch 'master' of github.com:SimpleMobileTools/Simple-Commons

This commit is contained in:
tibbi 2022-05-05 22:42:32 +02:00
commit 854fa395dc

View file

@ -902,7 +902,7 @@ fun BaseSimpleActivity.renameFile(
}
}
} else if (isAccessibleWithSAFSdk30(oldPath)) {
if (canManageMedia()) {
if (canManageMedia() && isPathOnInternalStorage(oldPath)) {
renameCasually(oldPath, newPath, isRenamingMultipleFiles, callback)
} else {
handleSAFDialogSdk30(oldPath) {