Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9251

Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems.

    XMLWordPrintableJSON

Details

    Description

      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"; }

      **************

      Attachments

        Issue Links

          Activity

            People

              bowserj Joey Robert Bowser
              tl274n Tony Leung
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: