소스 검색

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

(cherry picked from commit 14428c8d5b068fd59a0ae03a2a8a20d3ffae86a2)
Fredia Huya-Kouadio 1 년 전
부모
커밋
74a1d8addd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      platform/android/java/app/AndroidManifest.xml

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

@@ -35,7 +35,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"