summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2023-02-21 23:52:21 +0100
committerGitHub <noreply@github.com>2023-02-21 23:52:21 +0100
commite13fae1414b0369fdd3f51b4e3529fd3f272b0e1 (patch)
treee878931837cb634608032a47964d90ddc92b8493 /platform/android
parent56622b8ec348a1d52f94d58a783c24a9e2ccd85f (diff)
parent2735ff7b683e2a570f1ab438d8781eb2d43bdca6 (diff)
Merge pull request #72817 from m4gr3d/include_htc_xr_category_metadata
Add HTC Vive focus XR manifest metadata
Diffstat (limited to 'platform/android')
-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"