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

(cherry picked from commit 6e2988f26a)
This commit is contained in:
Fredia Huya-Kouadio 2020-05-18 15:28:18 -07:00 committed by Rémi Verschelde
parent b0ba122443
commit 2c81a82d53
1 changed files with 2 additions and 2 deletions

View File

@ -991,8 +991,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");
}
}
}