use the new way of getting file URIs at CopyMoveTask too
This commit is contained in:
parent
aebda1f471
commit
e919f1507b
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue