summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@meta.com>2023-02-06 17:20:30 -0800
committerFredia Huya-Kouadio <fhuya@meta.com>2023-02-06 17:20:45 -0800
commit2735ff7b683e2a570f1ab438d8781eb2d43bdca6 (patch)
tree5b06c1f178fca0f41170ed79ccd48bcad9bad668
parentcd0f1e9b102fe899d37921c1155df08966549363 (diff)
Add HTC Vive focus XR manifest metadata
-rw-r--r--platform/android/export/gradle_export_util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/export/gradle_export_util.cpp b/platform/android/export/gradle_export_util.cpp
index b889d58199..61f8c5574b 100644
--- a/platform/android/export/gradle_export_util.cpp
+++ b/platform/android/export/gradle_export_util.cpp
@@ -305,6 +305,9 @@ String _get_activity_tag(const Ref<EditorExportPreset> &p_preset, bool p_uses_xr
" <!-- OpenXR category tag to indicate the activity starts in an immersive OpenXR mode. \n"
" See https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#android-runtime-category. -->\n"
" <category android:name=\"org.khronos.openxr.intent.category.IMMERSIVE_HMD\" />\n"
+ "\n"
+ " <!-- Enable VR access on HTC Vive Focus devices. -->\n"
+ " <category android:name=\"com.htc.intent.category.VRAPP\" />\n"
" </intent-filter>\n";
} else {
manifest_activity_text += " <intent-filter>\n"