Explorar o código

Fix: launch mode of MainActivity should be singleTop

kr328 %!s(int64=4) %!d(string=hai) anos
pai
achega
c73beabf7e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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" />