Update the permission string for the Oculus hand tracking to match the latest api update

This commit is contained in:
Fredia Huya-Kouadio 2020-05-18 15:28:18 -07:00
parent 38250ef54e
commit 6e2988f26a
1 changed files with 2 additions and 2 deletions

View File

@ -962,8 +962,8 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
feature_required_list.push_back(hand_tracking_index == 2); feature_required_list.push_back(hand_tracking_index == 2);
feature_versions.push_back(-1); // no version attribute should be added. feature_versions.push_back(-1); // no version attribute should be added.
if (perms.find("oculus.permission.handtracking") == -1) { if (perms.find("com.oculus.permission.HAND_TRACKING") == -1) {
perms.push_back("oculus.permission.handtracking"); perms.push_back("com.oculus.permission.HAND_TRACKING");
} }
} }
} }