mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
Fix SAF mime-type
This commit is contained in:
parent
cad4174845
commit
b2c653ed1b
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public class FileUtils {
|
||||||
DocumentFile folder = parseFile(path);
|
DocumentFile folder = parseFile(path);
|
||||||
if (folder.findFile(name) != null)
|
if (folder.findFile(name) != null)
|
||||||
return true;
|
return true;
|
||||||
return folder.createFile("application/octet-stream", name) != null;
|
return folder.createFile("", name) != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static InputStream getInputStream(String path) throws FileNotFoundException {
|
public static InputStream getInputStream(String path) throws FileNotFoundException {
|
||||||
|
|
Loading…
Add table
Reference in a new issue