From f01ffd8b53e9155f53b0c529aecc2481a999d4f1 Mon Sep 17 00:00:00 2001 From: kholoud mohamed Date: Fri, 9 Apr 2021 13:45:17 +0100 Subject: Add a new permission to install testOnly apps Added a new permission INSTALL_TEST_ONLY_PACKAGE and granted it to shell, this will allow installing testOnly apps from a testAPI. Test: N/A Bug: 183716601 Merged-In: I047a4013fb3462db3487eab2d1635ea75ae29264 Change-Id: I047a4013fb3462db3487eab2d1635ea75ae29264 --- core/api/test-current.txt | 1 + core/res/AndroidManifest.xml | 7 +++++++ packages/Shell/AndroidManifest.xml | 1 + 3 files changed, 9 insertions(+) diff --git a/core/api/test-current.txt b/core/api/test-current.txt index fd6d47e56b52..ebee9ded1619 100644 --- a/core/api/test-current.txt +++ b/core/api/test-current.txt @@ -14,6 +14,7 @@ package android { field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS"; field public static final String FORCE_DEVICE_POLICY_MANAGER_LOGS = "android.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS"; field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES"; + field public static final String INSTALL_TEST_ONLY_PACKAGE = "android.permission.INSTALL_TEST_ONLY_PACKAGE"; field public static final String KEEP_UNINSTALLED_PACKAGES = "android.permission.KEEP_UNINSTALLED_PACKAGES"; field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS"; field public static final String MANAGE_CRATES = "android.permission.MANAGE_CRATES"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index cc4e2bb59787..357f427b428c 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3792,6 +3792,13 @@ + + + + -- cgit v1.2.3-59-g8ed1b