Add a log when deleting a file.
This commit is contained in:
parent
58a0875c5d
commit
0c841442d9
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ import kotlinx.coroutines.flow.filterIsInstance
|
|||
import kotlinx.coroutines.flow.first
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import kotlinx.coroutines.withContext
|
||||
import timber.log.Timber
|
||||
import java.io.File
|
||||
import java.io.InputStream
|
||||
import javax.inject.Inject
|
||||
|
|
@ -82,6 +83,7 @@ class AndroidMediaPreProcessor @Inject constructor(
|
|||
}
|
||||
if (deleteOriginal) {
|
||||
tryOrNull {
|
||||
Timber.w("Deleting original uri $uri")
|
||||
contentResolver.delete(uri, null, null)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue