From ab6940d4d4b90f0335ed4c48374c605fdc7b7758 Mon Sep 17 00:00:00 2001 From: kholoud mohamed Date: Thu, 28 Oct 2021 12:22:02 +0100 Subject: [PATCH] Add new INSTALL_DPC_PACKAGES permission Add a new permission that allows the holder to install a DPC package without requiring user action. Test: N/A Bug: 204416562 Bug: 188410712 Change-Id: Ib0ef022d0af41562eeef89a027b23d9692488933 --- core/api/system-current.txt | 1 + core/res/AndroidManifest.xml | 10 ++++++++++ packages/Shell/AndroidManifest.xml | 1 + 3 files changed, 12 insertions(+) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index 4918ebaf3d432..1a98673ecd42c 100755 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -118,6 +118,7 @@ package android { field public static final String HDMI_CEC = "android.permission.HDMI_CEC"; field @Deprecated public static final String HIDE_NON_SYSTEM_OVERLAY_WINDOWS = "android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"; field public static final String INJECT_EVENTS = "android.permission.INJECT_EVENTS"; + field public static final String INSTALL_DPC_PACKAGES = "android.permission.INSTALL_DPC_PACKAGES"; field public static final String INSTALL_DYNAMIC_SYSTEM = "android.permission.INSTALL_DYNAMIC_SYSTEM"; field public static final String INSTALL_GRANT_RUNTIME_PERMISSIONS = "android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS"; field public static final String INSTALL_LOCATION_TIME_ZONE_PROVIDER_SERVICE = "android.permission.INSTALL_LOCATION_TIME_ZONE_PROVIDER_SERVICE"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index df69ed005514a..2fdbe8903e338 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -4215,6 +4215,16 @@ + + +