summaryrefslogtreecommitdiff
path: root/main/src/ui/java/de/blinkt/openvpn/core/VariantConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/java/de/blinkt/openvpn/core/VariantConfig.java')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/core/VariantConfig.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/core/VariantConfig.java b/main/src/ui/java/de/blinkt/openvpn/core/VariantConfig.java
new file mode 100644
index 00000000..5db8382c
--- /dev/null
+++ b/main/src/ui/java/de/blinkt/openvpn/core/VariantConfig.java
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2012-2020 Arne Schwabe
+ * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ */
+
+package de.blinkt.openvpn.core;
+
+import android.content.Context;
+import android.content.Intent;
+
+import de.blinkt.openvpn.activities.InternalWebView;
+
+public class VariantConfig {
+ /** Return the normal webview or internal webview depending what is available */
+ static Intent getOpenUrlIntent(Context c) {
+ return new Intent(c, InternalWebView.class);
+ }
+}