Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 288481842F for ; Tue, 7 Jul 2015 00:33:05 +0000 (UTC) Received: (qmail 41541 invoked by uid 500); 7 Jul 2015 00:33:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 41518 invoked by uid 500); 7 Jul 2015 00:33:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 41499 invoked by uid 99); 7 Jul 2015 00:33:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 00:33:05 +0000 Date: Tue, 7 Jul 2015 00:33:04 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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