Godot Engine – Multi-platform 2D and 3D game engine
Fix support for the `org.godotengine.xr.hybrid.SPATIAL` hybrid app category introduced in https://github.com/GodotVR/godot_openxr_vendors/pull/543
Fredia Huya-Kouadiofa0ea95cd7f1
diff --git a/platform/android/export/gradle_export_util.cpp b/platform/android/export/gradle_export_util.cppindex 9c90204eb4d..83733180db0 100644--- a/platform/android/export/gradle_export_util.cpp+++ b/platform/android/export/gradle_export_util.cpp@@ -361,7 +361,7 @@ String _get_activity_tag(const Ref<EditorExportPlatform> &p_export_platform, conmanifest_activity_text += " </intent-filter>\n";// Hybrid categories should only go to the actual 'GodotApp' activity.- Ref<RegEx> activity_alias_content_to_remove_regex = RegEx::create_from_string(R"delim(<category\s+android:name\s*=\s*"org.godotengine.xr.hybrid.(IMMERSIVE|PANEL)"\s*\/>)delim");+ Ref<RegEx> activity_alias_content_to_remove_regex = RegEx::create_from_string(R"delim(<category\s+android:name\s*=\s*"org.godotengine.xr.hybrid.(SPATIAL|IMMERSIVE|PANEL)"\s*\/>)delim");String updated_export_plugins_activity_alias_element_contents = activity_alias_content_to_remove_regex->sub(export_plugins_activity_element_contents, "", true);manifest_activity_text += updated_export_plugins_activity_alias_element_contents;