summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
-rw-r--r--android/app/src/main/AndroidManifest.xml6
1 files changed, 5 insertions, 1 deletions
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">