Skip to content

Commit

Permalink
Fixed testMovingZimFileIntoPublicDirectory.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliDeveloper committed Sep 24, 2024
1 parent 572dd0a commit 7be8eff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ class CopyMoveFileHandler @Inject constructor(
try {
DocumentsContract.deleteDocument(activity.applicationContext.contentResolver, uri)
} catch (ignore: Exception) {
selectedFile?.delete()
ignore.printStackTrace()
}
}
Expand Down

0 comments on commit 7be8eff

Please sign in to comment.