Fix Android editor crash issue

Fix issue causing the Android editor to crash when pressing back from a running project
This commit is contained in:
Fredia Huya-Kouadio 2023-11-03 07:54:04 -07:00
parent 23c142afe7
commit ec8a4c025d

View file

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