summaryrefslogtreecommitdiffhomepage
path: root/android/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'android/app/src')
-rw-r--r--android/app/src/debug/AndroidManifest.xml2
-rw-r--r--android/app/src/main/AndroidManifest.xml6
2 files changed, 6 insertions, 2 deletions
diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
index a4433cfca1..4cf2009796 100644
--- a/android/app/src/debug/AndroidManifest.xml
+++ b/android/app/src/debug/AndroidManifest.xml
@@ -16,7 +16,7 @@
tools:ignore="GoogleAppIndexingWarning">
<activity android:name="net.mullvad.mullvadvpn.TestActivity"
android:label="@string/app_name"
- android:launchMode="singleTask"
+ android:launchMode="singleInstance"
android:configChanges="orientation|screenSize|screenLayout"
android:screenOrientation="locked"
android:windowSoftInputMode="adjustPan"
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index d7fa4b0263..7107705496 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -29,10 +29,14 @@
<!--
MainActivity
Must be exported in order to be launchable.
+ Launch mode should singleInstance to avoid this vulnerability;
+ https://developer.android.com/privacy-and-security/risks/strandhogg
+ This can be disregarded when the minimum supported version is 28 or higher
+ since after that it has been patched on a OS level.
-->
<activity android:name="net.mullvad.mullvadvpn.ui.MainActivity"
android:exported="true"
- android:launchMode="singleTask"
+ android:launchMode="singleInstance"
android:configChanges="orientation|screenSize|screenLayout"
android:screenOrientation="fullUser"
android:windowSoftInputMode="adjustResize">