Tony Leung created CB-9251:
------------------------------
Summary: Android 4.0.2 disabled setting Preferences by intents but
the latest File plugin is still using it for androidpersistentfilelocation and
androidextrafilesystems.
Key: CB-9251
URL: https://issues.apache.org/jira/browse/CB-9251
Project: Apache Cordova
Issue Type: Bug
Components: Android, Plugin File
Reporter: Tony Leung
FileUtils.java
Line # 97
protected String[] getExtraFileSystemsPreference(Activity activity) {
String fileSystemsStr =
activity.getIntent().getStringExtra("androidextrafilesystems");
if (fileSystemsStr == null) {
fileSystemsStr =
"files,files-external,documents,sdcard,cache,cache-external,root";
}
return fileSystemsStr.split(",");
}
*************
Line # 159
String location =
activity.getIntent().getStringExtra("androidpersistentfilelocation");
if (location == null) {
location = "compatibility";
}
**************
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]