Merge pull request #38843 from m4gr3d/update_oculus_hand_tracking_permission

Update the permission string for Oculus hand tracking
This commit is contained in:
Rémi Verschelde 2020-05-19 07:49:07 +02:00 committed by GitHub
commit 570b7e79b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");
}
}
}