Browse Source

Update the `launchMode` for the `GodotApp` activity to allow other activities to be part of the same task

For details, see https://developer.android.com/guide/topics/manifest/activity-element#lmode
Fredia Huya-Kouadio 1 year ago
parent
commit
cf706e2dc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/android/java/app/AndroidManifest.xml

+ 1 - 1
platform/android/java/app/AndroidManifest.xml

@@ -66,7 +66,7 @@
             android:name=".GodotApp"
             android:name=".GodotApp"
             android:label="@string/godot_project_name_string"
             android:label="@string/godot_project_name_string"
             android:theme="@style/GodotAppSplashTheme"
             android:theme="@style/GodotAppSplashTheme"
-            android:launchMode="singleInstance"
+            android:launchMode="singleInstancePerTask"
             android:excludeFromRecents="false"
             android:excludeFromRecents="false"
             android:exported="true"
             android:exported="true"
             android:screenOrientation="landscape"
             android:screenOrientation="landscape"