From 6e2988f26a789cfce5d3835c98560238728b5800 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Mon, 18 May 2020 15:28:18 -0700 Subject: Update the permission string for the Oculus hand tracking to match the latest api update --- platform/android/export/export.cpp | 4 ++-- 1 file 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"); } } } -- cgit v1.2.3