diff options
Diffstat (limited to 'main/src/ui/java/de/blinkt/openvpn/core')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/core/VariantConfig.java | 18 |
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); + } +} |