Эх сурвалжийг харах

Fix: launch mode of MainActivity should be singleTop

kr328 4 жил өмнө
parent
commit
c73beabf7e

+ 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" />