summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2020-05-18 15:28:18 -0700
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2020-05-18 15:28:18 -0700
commit6e2988f26a789cfce5d3835c98560238728b5800 (patch)
tree32baf70c37eea8c8d2ea44e8b5c5040df7c2ea69 /platform/android/export/export.cpp
parent38250ef54e439d69240f4b514f3bacb05b5d8c12 (diff)
downloadredot-engine-6e2988f26a789cfce5d3835c98560238728b5800.tar.gz
Update the permission string for the Oculus hand tracking to match the latest api update
Diffstat (limited to 'platform/android/export/export.cpp')
-rw-r--r--platform/android/export/export.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index a53f97e492..dfaaf68b69 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -962,8 +962,8 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
feature_required_list.push_back(hand_tracking_index == 2);
feature_versions.push_back(-1); // no version attribute should be added.
- if (perms.find("oculus.permission.handtracking") == -1) {
- perms.push_back("oculus.permission.handtracking");
+ if (perms.find("com.oculus.permission.HAND_TRACKING") == -1) {
+ perms.push_back("com.oculus.permission.HAND_TRACKING");
}
}
}