Skip to content

Commit

Permalink
add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
stakano committed Aug 16, 2024
1 parent 16646ab commit 375a10a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ private static String getDocumentPathFromTreeUri(final Uri treeUri) {
}

private static void recursiveDeleteFile(final File file) throws Exception {
if (!file.exists()) {
if (file == null || !file.exists()) {
return;
}

Expand Down

0 comments on commit 375a10a

Please sign in to comment.