mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
Changed order of pick directory intents
This commit is contained in:
parent
ebcc34e323
commit
d05f6878d8
@ -62,13 +62,13 @@ public class FileBrowserHelper {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public boolean showFileBrowserActivity(Activity c, File startPath, int requestcode, FileBrowserFailOverCallback callback) {
|
public boolean showFileBrowserActivity(Activity c, File startPath, int requestcode, FileBrowserFailOverCallback callback) {
|
||||||
// A string array that specifies the name of the intent to use, and
|
// A string array that specifies the name of the intent to use, and
|
||||||
// the scheme to use with it when setting the data for the intent.
|
// the scheme to use with it when setting the data for the intent.
|
||||||
String[][] intentDetails =
|
String[][] intentDetails =
|
||||||
{ { "org.openintents.action.PICK_DIRECTORY", "file://" }, // OI File Manager (maybe others)
|
{ { "org.openintents.action.PICK_DIRECTORY", "file://" }, // OI File Manager (maybe others)
|
||||||
{ "com.androidworkz.action.PICK_DIRECTORY", "file://" }, // SystemExplorer
|
{ "com.estrongs.action.PICK_DIRECTORY", "file://" }, // ES File Explorer
|
||||||
{ "com.estrongs.action.PICK_DIRECTORY", "file://" }, // ES File Explorer
|
{ Intent.ACTION_PICK, "folder://" }, // Blackmoon File Browser (maybe others)
|
||||||
{ Intent.ACTION_PICK, "folder://" } }; // Blackmoon File Browser (maybe others)
|
{ "com.androidworkz.action.PICK_DIRECTORY", "file://" }}; // SystemExplorer
|
||||||
|
|
||||||
boolean success = false;
|
boolean success = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user