Put trailing / into getRootPaths() to remain consistent with BBW

This commit is contained in:
macdonst 2010-11-26 00:40:18 +08:00
parent 50b435c4d1
commit 6e572f05e4

View File

@ -265,7 +265,8 @@ public class DirectoryManager {
*/ */
protected static JSONArray getRootPaths() { protected static JSONArray getRootPaths() {
JSONArray retVal = new JSONArray(); JSONArray retVal = new JSONArray();
retVal.put(Environment.getExternalStorageDirectory().getAbsolutePath()); String path = Environment.getExternalStorageDirectory().getAbsolutePath() + "/";
retVal.put(path);
return retVal; return retVal;
} }