add "files" path
try to fix saving profiles on forcemounted path. Transfer your wagic/res to /Android/data/net.wagic.app/files
This commit is contained in:
@@ -214,7 +214,7 @@ public class StorageOptions
|
|||||||
{
|
{
|
||||||
if(!isRooted())
|
if(!isRooted())
|
||||||
{
|
{
|
||||||
File folder = new File(System.getenv("EXTERNAL_STORAGE")+"/Android/data/net.wagic.app");
|
File folder = new File(System.getenv("EXTERNAL_STORAGE")+"/Android/data/net.wagic.app/files");
|
||||||
folder.mkdirs();
|
folder.mkdirs();
|
||||||
mMounts.add(folder.toString());
|
mMounts.add(folder.toString());
|
||||||
}
|
}
|
||||||
@@ -232,7 +232,7 @@ public class StorageOptions
|
|||||||
{
|
{
|
||||||
if(!isRooted())
|
if(!isRooted())
|
||||||
{
|
{
|
||||||
File folder = new File(System.getenv("SECONDARY_STORAGE")+"/Android/data/net.wagic.app");
|
File folder = new File(System.getenv("SECONDARY_STORAGE")+"/Android/data/net.wagic.app/files");
|
||||||
folder.mkdirs();
|
folder.mkdirs();
|
||||||
mMounts.add(folder.toString());
|
mMounts.add(folder.toString());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user