diff options
Diffstat (limited to 'main/src/ui/java/de/blinkt/openvpn/activities')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/activities/InternalWebView.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/activities/InternalWebView.kt b/main/src/ui/java/de/blinkt/openvpn/activities/InternalWebView.kt index 2bad9e81..1a16829e 100644 --- a/main/src/ui/java/de/blinkt/openvpn/activities/InternalWebView.kt +++ b/main/src/ui/java/de/blinkt/openvpn/activities/InternalWebView.kt @@ -40,6 +40,8 @@ class InternalWebView : AppCompatActivity() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) attachMessageHandler() + val startData = "Trying to open page at ${intent.data.toString()}" + webView.loadData(startData,"text/plain","UTF-8"); webView.loadUrl(intent.data.toString()) webView.settings.javaScriptEnabled = true |