mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix the logic to restart the Godot application
This commit is contained in:
parent
9923851370
commit
d38ffda2c3
9 changed files with 163 additions and 88 deletions
|
@ -807,7 +807,6 @@ void EditorExportPlatformAndroid::_write_tmp_manifest(const Ref<EditorExportPres
|
|||
}
|
||||
|
||||
manifest_text += _get_xr_features_tag(p_preset);
|
||||
manifest_text += _get_instrumentation_tag(p_preset);
|
||||
manifest_text += _get_application_tag(p_preset, _has_storage_permission(perms));
|
||||
manifest_text += "</manifest>\n";
|
||||
String manifest_path = vformat("res://android/build/src/%s/AndroidManifest.xml", (p_debug ? "debug" : "release"));
|
||||
|
@ -969,10 +968,6 @@ void EditorExportPlatformAndroid::_fix_manifest(const Ref<EditorExportPreset> &p
|
|||
encode_uint32(retain_data_on_uninstall, &p_manifest.write[iofs + 16]);
|
||||
}
|
||||
|
||||
if (tname == "instrumentation" && attrname == "targetPackage") {
|
||||
string_table.write[attr_value] = get_package_name(package_name);
|
||||
}
|
||||
|
||||
if (tname == "activity" && attrname == "screenOrientation") {
|
||||
encode_uint32(screen_orientation, &p_manifest.write[iofs + 16]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue