Browse Source

Fix: launch mode of MainActivity should be singleTop

kr328 4 years ago
parent
commit
c73beabf7e
1 changed files with 2 additions and 1 deletions
  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" />