Browse Source

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

Fredia Huya-Kouadio 5 years ago
parent
commit
6e2988f26a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      platform/android/export/export.cpp

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