From 1f32537398c0c7b08e394c240810655834c68ef0 Mon Sep 17 00:00:00 2001 From: Eghosa Ewansiha-Vlachavas Date: Fri, 30 Sep 2022 13:08:58 +0000 Subject: [PATCH] Add new permission to manage exemptions for platfrom restricitons * This is permission will be included with the DEVICE_MANAGER role Bug: 246330879 Test: atest CtsPermission2TestCases Change-Id: Ib0950754f68359756f257b0b3cefdfd6830fe3f5 --- core/api/system-current.txt | 1 + core/res/AndroidManifest.xml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index f221eca453377..e34f37f80a330 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -167,6 +167,7 @@ package android { field public static final String MANAGE_CONTENT_SUGGESTIONS = "android.permission.MANAGE_CONTENT_SUGGESTIONS"; field public static final String MANAGE_DEBUGGING = "android.permission.MANAGE_DEBUGGING"; field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS"; + field public static final String MANAGE_DEVICE_POLICY_APP_EXEMPTIONS = "android.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS"; field public static final String MANAGE_ETHERNET_NETWORKS = "android.permission.MANAGE_ETHERNET_NETWORKS"; field public static final String MANAGE_FACTORY_RESET_PROTECTION = "android.permission.MANAGE_FACTORY_RESET_PROTECTION"; field public static final String MANAGE_GAME_ACTIVITY = "android.permission.MANAGE_GAME_ACTIVITY"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index ded1b898d8574..f0b1b2aa7e3df 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3051,6 +3051,10 @@ + + +