From fca9ba79d9e6206698c7954724dfca0cfa228dda Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 20 Feb 2014 18:51:10 +0100 Subject: Use ACTION_GET_CONTENT (instead of ACTION_PICK) to allow Dropbox and other services --HG-- extra : rebase_source : 95aedf3219cc90e6adb148b3093ab631736f8df5 --- main/src/main/java/de/blinkt/openvpn/fragments/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java b/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java index 9117f158..56da017d 100644 --- a/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java +++ b/main/src/main/java/de/blinkt/openvpn/fragments/Utils.java @@ -21,7 +21,7 @@ public class Utils { @TargetApi(Build.VERSION_CODES.KITKAT) public static Intent getFilePickerIntent(FileType fileType) { - Intent i = new Intent(Intent.ACTION_OPEN_DOCUMENT); + Intent i = new Intent(Intent.ACTION_GET_CONTENT); i.addCategory(Intent.CATEGORY_OPENABLE); TreeSet supportedMimeTypes = new TreeSet(); Vector extensions = new Vector(); -- cgit v1.2.3