summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/debug/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'android/app/src/debug/kotlin')
-rw-r--r--android/app/src/debug/kotlin/net/mullvad/mullvadvpn/TestActivity.kt23
1 files changed, 0 insertions, 23 deletions
diff --git a/android/app/src/debug/kotlin/net/mullvad/mullvadvpn/TestActivity.kt b/android/app/src/debug/kotlin/net/mullvad/mullvadvpn/TestActivity.kt
deleted file mode 100644
index df36947eab..0000000000
--- a/android/app/src/debug/kotlin/net/mullvad/mullvadvpn/TestActivity.kt
+++ /dev/null
@@ -1,23 +0,0 @@
-package net.mullvad.mullvadvpn
-
-import android.annotation.SuppressLint
-import android.app.Activity
-import android.os.Bundle
-import android.webkit.WebView
-import android.widget.Toast
-
-class TestActivity : Activity() {
- @SuppressLint("SetJavaScriptEnabled")
- override fun onCreate(savedInstanceState: Bundle?) {
- super.onCreate(savedInstanceState)
- setContentView(R.layout.activity_test)
- val testWebView: WebView = findViewById(R.id.webview)
- testWebView.settings.javaScriptEnabled = true
- val url = intent.getStringExtra("url")
- if (url != null) {
- testWebView.loadUrl(url)
- } else {
- Toast.makeText(applicationContext, "No url specified!", Toast.LENGTH_SHORT).show()
- }
- }
-}