Permalink
Browse files

Fix for cleaner Android method

  • Loading branch information...
1 parent e56343a commit 0b9b8abdf566ebc088edc93e0efd70e46904ebc7 @dbankier committed Oct 10, 2012
@@ -77,7 +77,7 @@ public static String readAsset(String path)
InputStream in;
//[TiShadow] for loading from private data
if (path.startsWith("appdata-private://")) {
- in = new FileInputStream(dataDir + path.substring(18));
+ in = new FileInputStream(dataDir + path.substring(17));
} else if (path.startsWith("/data/data")) {
in = new FileInputStream(path);
} else {

0 comments on commit 0b9b8ab

Please sign in to comment.