From 770f5ab2db3e9161a9d67184a5d91021e0bde4ea Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Tue, 29 Sep 2020 18:01:23 +0100 Subject: [PATCH] Add a new permission in AOSP This adds a new permission in AOSP, so it can be referenced by the Shell command, which presubmit suggests has to be maintained in AOSP. Bug: 159891384 Test: build only Exempt-From-Owner-Approval: jsharkey@ approved but it appears to have reset...? Change-Id: Ic7d403e20731e9d6bd82d5b2e2758cc61989cc59 --- core/res/AndroidManifest.xml | 8 ++++++++ data/etc/privapp-permissions-platform.xml | 2 ++ packages/Shell/AndroidManifest.xml | 3 +++ 3 files changed, 13 insertions(+) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 8656820c4ea20..80f73f0430680 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2682,6 +2682,14 @@ + + + diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 672b428d16238..0a9e50eb92dd3 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -427,6 +427,8 @@ applications that come with the platform + + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index f5f58efb72e6c..a9279971ce1e8 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -326,6 +326,9 @@ + + +