cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject [1/2] git commit: CB-5916: Android: Add "/files/" to persistent files path
Date Tue, 28 Jan 2014 16:12:41 GMT
Updated Branches:
  refs/heads/dev 40df005f6 -> b68e1278d


CB-5916: Android: Add "/files/" to persistent files path


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/28c21bfb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/28c21bfb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/28c21bfb

Branch: refs/heads/dev
Commit: 28c21bfbeceeb81950981105a39219b7702e5907
Parents: 40df005
Author: Ian Clelland <iclelland@chromium.org>
Authored: Tue Jan 28 10:05:22 2014 -0500
Committer: Ian Clelland <iclelland@chromium.org>
Committed: Tue Jan 28 10:05:22 2014 -0500

----------------------------------------------------------------------
 src/android/FileUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/28c21bfb/src/android/FileUtils.java
----------------------------------------------------------------------
diff --git a/src/android/FileUtils.java b/src/android/FileUtils.java
index 7983be1..f9a36a7 100644
--- a/src/android/FileUtils.java
+++ b/src/android/FileUtils.java
@@ -108,7 +108,7 @@ public class FileUtils extends CordovaPlugin {
     	}
     	else {
     		if (location.equalsIgnoreCase("internal")) {
-    			persistentRoot = activity.getFilesDir().getAbsolutePath();
+    			persistentRoot = activity.getFilesDir().getAbsolutePath() + "/files/";
     			tempRoot = activity.getCacheDir().getAbsolutePath();
     		} else {
     			/*


Mime
View raw message