Moves activities to be singleInstance to avoid multiple startups when receiving share events from other apps.

This commit is contained in:
Vitor Pamplona
2025-04-03 20:46:39 -04:00
parent ed0435061c
commit ed860454a7
+2 -2
View File
@@ -66,7 +66,7 @@
<activity
android:name=".ui.MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:launchMode="singleInstance"
android:windowSoftInputMode="adjustResize"
android:configChanges="orientation|screenSize|screenLayout"
android:taskAffinity=".service.playback.pip.PipVideoActivity"
@@ -127,7 +127,7 @@
android:autoRemoveFromRecents="true"
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden|keyboard|uiMode"
android:supportsPictureInPicture="true"
android:launchMode="singleTask"
android:launchMode="singleInstance"
android:exported="false"
android:resizeableActivity="true"
android:theme="@style/noAnimTheme"