summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-02-20 18:51:10 +0100
committerArne Schwabe <arne@rfc2549.org>2014-02-20 18:51:10 +0100
commitfca9ba79d9e6206698c7954724dfca0cfa228dda (patch)
treeaa12ddca2ed9910241c3adac6f957f6098ccc4aa
parentb6f48ece692619382a8017b01c28be9cfb2e8739 (diff)
Use ACTION_GET_CONTENT (instead of ACTION_PICK) to allow Dropbox and other services
--HG-- extra : rebase_source : 95aedf3219cc90e6adb148b3093ab631736f8df5
-rw-r--r--main/src/main/java/de/blinkt/openvpn/fragments/Utils.java2
1 files changed, 1 insertions, 1 deletions
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<String> supportedMimeTypes = new TreeSet<String>();
Vector<String> extensions = new Vector<String>();