From 6f86e37f42631922737124e0eaef704787bb537a Mon Sep 17 00:00:00 2001 From: Suprabh Shukla Date: Thu, 25 Mar 2021 02:26:53 -0700 Subject: Adding a permission to Shell to enable testing Adding SCHEDULE_PRIORITIZED_ALARM permission to Shell so the API can be called from tests. Test: Builds, boots. atest CtsAlarmManagerTestCases:BasicApiTests Bug: 183661625 Change-Id: I983b0d9d7a5ab417e74feae9dadf4d472d277b20 --- data/etc/privapp-permissions-platform.xml | 2 ++ packages/Shell/AndroidManifest.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 1924e5fd7941..213fbd67b8d4 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -495,6 +495,8 @@ applications that come with the platform + + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index cff8ad1ed964..dba77e20e74a 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -447,6 +447,9 @@ + + +