summaryrefslogtreecommitdiff
path: root/main/src/ui/java/de
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2020-03-05 12:32:33 +0100
committerArne Schwabe <arne@rfc2549.org>2020-03-05 12:32:33 +0100
commit631205b050fe145fdf46e24f55a5967357b7a037 (patch)
treef174e719b31a62dd89a53c52960776111edd7dc4 /main/src/ui/java/de
parentd7e8e1f3dde315ff431576fac4a46fd8e1fabf9a (diff)
Fix import not working from external apps
Diffstat (limited to 'main/src/ui/java/de')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/activities/ConfigConverter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/activities/ConfigConverter.kt b/main/src/ui/java/de/blinkt/openvpn/activities/ConfigConverter.kt
index 972ff479..199c7819 100644
--- a/main/src/ui/java/de/blinkt/openvpn/activities/ConfigConverter.kt
+++ b/main/src/ui/java/de/blinkt/openvpn/activities/ConfigConverter.kt
@@ -612,7 +612,7 @@ class ConfigConverter : BaseActivity(), FileSelectCallback, View.OnClickListener
startImportTask(Uri.fromParts("inline", "inlinetext", null),
"imported profiles from AS", data);
}
- } else if (intent.action.equals(IMPORT_PROFILE)) {
+ } else if (intent.action.equals(IMPORT_PROFILE) || intent.action.equals(Intent.ACTION_VIEW)) {
val data = intent.data
if (data != null) {
mSourceUri = data