You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2015/11/06 19:49:14 UTC
cordova-plugin-file git commit: Fix default persistent file location
Repository: cordova-plugin-file
Updated Branches:
refs/heads/master 776f24d3a -> 2c0d88536
Fix default persistent file location
This closes #146
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/2c0d8853
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/2c0d8853
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/2c0d8853
Branch: refs/heads/master
Commit: 2c0d8853623851bba91ebaff526dba871ba4b016
Parents: 776f24d
Author: Jason Ginchereau <ja...@microsoft.com>
Authored: Tue Nov 3 16:24:43 2015 -0800
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Nov 6 10:49:11 2015 -0800
----------------------------------------------------------------------
src/android/FileUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/2c0d8853/src/android/FileUtils.java
----------------------------------------------------------------------
diff --git a/src/android/FileUtils.java b/src/android/FileUtils.java
index 97a1409..ba44c51 100644
--- a/src/android/FileUtils.java
+++ b/src/android/FileUtils.java
@@ -175,7 +175,7 @@ public class FileUtils extends CordovaPlugin {
Activity activity = cordova.getActivity();
String packageName = activity.getPackageName();
- String location = preferences.getString("androidpersistentfilelocation", "compatibility");
+ String location = preferences.getString("androidpersistentfilelocation", "internal");
tempRoot = activity.getCacheDir().getAbsolutePath();
if ("internal".equalsIgnoreCase(location)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org