From 00b10ed048cc1f6490e7ca3e0530dd4471ca5a40 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 27 May 2020 13:39:55 +0200 Subject: Implement internal webview for authenticating when OPEN_URL is used --- .../java/de/blinkt/openvpn/core/VariantConfig.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 main/src/skeleton/java/de/blinkt/openvpn/core/VariantConfig.java (limited to 'main/src/skeleton/java/de/blinkt/openvpn') diff --git a/main/src/skeleton/java/de/blinkt/openvpn/core/VariantConfig.java b/main/src/skeleton/java/de/blinkt/openvpn/core/VariantConfig.java new file mode 100644 index 00000000..bbebc2af --- /dev/null +++ b/main/src/skeleton/java/de/blinkt/openvpn/core/VariantConfig.java @@ -0,0 +1,16 @@ +/* + * 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; + +public class VariantConfig { + static Intent getOpenUrlIntent(Context c) { + return new Intent(Intent.ACTION_VIEW); + } + +} -- cgit v1.2.3