mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +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
|
@ -232,19 +232,6 @@ String _get_xr_features_tag(const Ref<EditorExportPreset> &p_preset) {
|
|||
return manifest_xr_features;
|
||||
}
|
||||
|
||||
String _get_instrumentation_tag(const Ref<EditorExportPreset> &p_preset) {
|
||||
String package_name = p_preset->get("package/unique_name");
|
||||
String manifest_instrumentation_text = vformat(
|
||||
" <instrumentation\n"
|
||||
" tools:node=\"replace\"\n"
|
||||
" android:name=\".GodotInstrumentation\"\n"
|
||||
" android:icon=\"@mipmap/icon\"\n"
|
||||
" android:label=\"@string/godot_project_name_string\"\n"
|
||||
" android:targetPackage=\"%s\" />\n",
|
||||
package_name);
|
||||
return manifest_instrumentation_text;
|
||||
}
|
||||
|
||||
String _get_activity_tag(const Ref<EditorExportPreset> &p_preset) {
|
||||
int xr_mode_index = (int)(p_preset->get("xr_features/xr_mode"));
|
||||
bool uses_xr = xr_mode_index == XR_MODE_OPENXR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue