cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9251) Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems.
Date Tue, 07 Jul 2015 00:33:05 GMT

    [ https://issues.apache.org/jira/browse/CB-9251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615972#comment-14615972
] 

Joe Bowser commented on CB-9251:
--------------------------------

No API change needed, fixed.

> 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
>            Assignee: Joe Bowser
>
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message