Skip to content

Commit

Permalink
Fix SAF mime-type
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBRDeveloper committed Dec 22, 2023
1 parent cad4174 commit b2c653e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static boolean createFile(String path, String name){
DocumentFile folder = parseFile(path);
if (folder.findFile(name) != null)
return true;
return folder.createFile("application/octet-stream", name) != null;
return folder.createFile("", name) != null;
}

public static InputStream getInputStream(String path) throws FileNotFoundException {
Expand Down

0 comments on commit b2c653e

Please sign in to comment.