remove trailing slash

This commit is contained in:
Fil Maj 2012-02-16 17:48:48 -08:00 committed by Joe Bowser
parent d274891c2c
commit 49d8d22d7f

View File

@ -736,7 +736,7 @@ public class FileUtils extends Plugin {
if (filePath.equals(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Android/data/" + ctx.getPackageName() + "/cache") ||
filePath.equals(Environment.getExternalStorageDirectory().getAbsolutePath()) ||
filePath.equals("/data/data/" + ctx.getPackageName() + "/")) {
filePath.equals("/data/data/" + ctx.getPackageName())) {
return true;
}
return false;
@ -825,7 +825,7 @@ public class FileUtils extends Plugin {
}
else if (type == PERSISTENT) {
fs.put("name", "persistent");
fs.put("root", "file:///data/data/" + ctx.getPackageName() + "/");
fs.put("root", "file:///data/data/" + ctx.getPackageName());
}
else {
throw new IOException("No filesystem of type requested");