From 2c81a82d533515a7dc09fad58c81d85b03c37e0b Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Mon, 18 May 2020 15:28:18 -0700 Subject: [PATCH] Update the permission string for the Oculus hand tracking to match the latest api update (cherry picked from commit 6e2988f26a789cfce5d3835c98560238728b5800) --- 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 a3bf5a563f1..27d20c6f7cf 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -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"); } } }