summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-05-19 07:49:07 +0200
committerGitHub <noreply@github.com>2020-05-19 07:49:07 +0200
commit570b7e79b08becd4b99ef9cc2d15a86397f73d6c (patch)
tree32baf70c37eea8c8d2ea44e8b5c5040df7c2ea69
parent38250ef54e439d69240f4b514f3bacb05b5d8c12 (diff)
parent6e2988f26a789cfce5d3835c98560238728b5800 (diff)
Merge pull request #38843 from m4gr3d/update_oculus_hand_tracking_permission
Update the permission string for Oculus hand tracking
-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");
}
}
}