summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--android/app/src/debug/AndroidManifest.xml10
-rw-r--r--android/app/src/debug/kotlin/net/mullvad/mullvadvpn/TestActivity.kt23
-rw-r--r--android/app/src/debug/res/layout/activity_test.xml13
3 files changed, 1 insertions, 45 deletions
diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
index 4cf2009796..61ef2c7e50 100644
--- a/android/app/src/debug/AndroidManifest.xml
+++ b/android/app/src/debug/AndroidManifest.xml
@@ -13,13 +13,5 @@
android:allowBackup="false"
android:banner="@drawable/banner"
android:name=".MullvadApplication"
- tools:ignore="GoogleAppIndexingWarning">
- <activity android:name="net.mullvad.mullvadvpn.TestActivity"
- android:label="@string/app_name"
- android:launchMode="singleInstance"
- android:configChanges="orientation|screenSize|screenLayout"
- android:screenOrientation="locked"
- android:windowSoftInputMode="adjustPan"
- android:exported="true"></activity>
- </application>
+ tools:ignore="DataExtractionRules,GoogleAppIndexingWarning"></application>
</manifest>
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()
- }
- }
-}
diff --git a/android/app/src/debug/res/layout/activity_test.xml b/android/app/src/debug/res/layout/activity_test.xml
deleted file mode 100644
index 18f7eafef6..0000000000
--- a/android/app/src/debug/res/layout/activity_test.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".TestActivity">
- <WebView
- android:id="@+id/webview"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-</androidx.constraintlayout.widget.ConstraintLayout>