Преглед на файлове

Fix Android editor crash issue

Fix issue causing the Android editor to crash when pressing back from a running project

(cherry picked from commit fcb07ff8dc607080d3095baa5f34b91043447127)
Fredia Huya-Kouadio преди 1 година
родител
ревизия
a3432848b2
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      platform/android/java/editor/src/main/AndroidManifest.xml

+ 3 - 3
platform/android/java/editor/src/main/AndroidManifest.xml

@@ -35,7 +35,7 @@
         <activity
             android:name=".GodotProjectManager"
             android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
-            android:launchMode="singleInstance"
+            android:launchMode="singleTask"
             android:screenOrientation="userLandscape"
             android:exported="true"
             android:process=":GodotProjectManager">
@@ -53,7 +53,7 @@
             android:name=".GodotEditor"
             android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
             android:process=":GodotEditor"
-            android:launchMode="singleInstance"
+            android:launchMode="singleTask"
             android:screenOrientation="userLandscape"
             android:exported="false">
             <layout android:defaultHeight="@dimen/editor_default_window_height"
@@ -65,7 +65,7 @@
             android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
             android:label="@string/godot_project_name_string"
             android:process=":GodotGame"
-            android:launchMode="singleInstance"
+            android:launchMode="singleTask"
             android:exported="false"
             android:screenOrientation="userLandscape">
             <layout android:defaultHeight="@dimen/editor_default_window_height"