From 6adfa79de1503c941108a35bfead4864fc8ea9ee Mon Sep 17 00:00:00 2001 From: Kweku Adams Date: Fri, 8 May 2020 08:51:42 -0700 Subject: [PATCH] Add day-night-mode permission to Shell. Without the permission "adb shell cmd uimode night " doesn't work. Adding the permission to the AndroidManifest file so the shell command will work. Bug: 155584597 Test: run `adb shell cmd uimode night ` Change-Id: Ibfb145d762c73bba9de639d4050b9b26e4778cc9 --- data/etc/privapp-permissions-platform.xml | 1 + packages/Shell/AndroidManifest.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index a1c8e13668030..5b0ef8ef21305 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -291,6 +291,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index ff91c797e9b10..d34291dd4e58c 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -219,6 +219,9 @@ + + +