diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt index 94561a299..6db4c3993 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt @@ -323,7 +323,7 @@ class CopyMoveTask( // if we delete multiple files from Downloads folder on Android 11 or 12 without being a Media Management app, show the confirmation dialog just once private fun deleteProtectedFiles() { if (mFileDirItemsToDelete.isNotEmpty()) { - val fileUris = activity.getUrisPathsFromFileDirItems(mFileDirItemsToDelete).second + val fileUris = activity.getFileUrisFromFileDirItems(mFileDirItemsToDelete) activity.deleteSDK30Uris(fileUris) { success -> if (success) { mFileDirItemsToDelete.forEach {