diff options
author | Arne Schwabe <arne@rfc2549.org> | 2020-07-31 13:05:44 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2020-07-31 13:05:44 +0200 |
commit | 81f9dffbb8bdfd6238e1ac9d7de4ab6be2ed65c7 (patch) | |
tree | edaf8cd41f1ccde57a2208f7ab1ab90f91dff78d /main/src/ui/java/de | |
parent | b55f0075b698d316d63bfd91401df85f4443f260 (diff) |
Small fixes
Diffstat (limited to 'main/src/ui/java/de')
-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 |