cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (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:04 GMT

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

ASF subversion and git services commented on CB-9251:
-----------------------------------------------------

Commit f2cac259c17672d46415676f4f651a336758c124 in cordova-plugin-file's branch refs/heads/master
from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=f2cac25 ]

CB-9251: Changed from Intents to Preferences object as per the issue


> 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