From deb46f3c36b88b03b3ed094edda2f4cd045166e1 Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Wed, 17 Apr 2019 16:47:54 -0400 Subject: [PATCH] Grant STATUS_BAR permission to com.android.shell Allows for testing APIs protected by this permission from CTS tests Test: adb shell dumpsys package com.android.shell | grep "\bSTATUS_BAR: granted=true" # should find the permission Bug: 130178313 Change-Id: Ida0950664b98217d9c0801c0f19436c754ee6744 --- data/etc/privapp-permissions-platform.xml | 1 + packages/Shell/AndroidManifest.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index e4a93e740c4cd..26865ad45d0bd 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -295,6 +295,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 314b74a691471..16fce89e0c132 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -152,6 +152,7 @@ +