From ebc1b48922d5cb7abcf0bc51e9a092079a837556 Mon Sep 17 00:00:00 2001 From: Karthik Ravi Shankar Date: Sun, 26 Mar 2017 02:56:44 -0700 Subject: [PATCH] Allow shell uid to access Vr APIs Some of the Vr APIs in VrManagerService need to be accessed via shell to be used for testing and for easy access. Add android.permission.RESTRICTED_VR_ACCESS to shell uid. Bug: 36071574 Test: adb shell vr set-persistent-vr-mode-enabled true adb shell dumpsys vrmanager >> Persistent VR mode is currently: enabled adb shell vr set-persistent-vr-mode-enabled false adb shell dumpsys vrmanager >> Persistent VR mode is currently: disabled Change-Id: I486fa19f93d5c6999aa479fdf7e5f2f48f765240 Signed-off-by: Karthik Ravi Shankar --- packages/Shell/AndroidManifest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 2519e029dbd93..1099aa24d720e 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -123,6 +123,8 @@ + +