Parcourir la source

Fix: launch mode of MainActivity should be singleTop

kr328 il y a 4 ans
Parent
commit
c73beabf7e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      app/src/main/AndroidManifest.xml

+ 2 - 1
app/src/main/AndroidManifest.xml

@@ -41,7 +41,8 @@
             android:name=".MainActivity"
             android:configChanges="uiMode"
             android:exported="true"
-            android:label="@string/launch_name">
+            android:label="@string/launch_name"
+            android:launchMode="singleTop">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />