Merge "Add a new permission to install testOnly apps" into sc-dev am: 48cf9cdfb0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14141533

Change-Id: I5edc7f1f7c88f128000a80a53906dd9315e6d225
This commit is contained in:
Kholoud Mohamed
2021-04-21 11:29:26 +00:00
committed by Automerger Merge Worker
2 changed files with 8 additions and 0 deletions

View File

@@ -4106,6 +4106,13 @@
<permission android:name="com.android.permission.USE_INSTALLER_V2"
android:protectionLevel="signature|installer" />
<!-- @TestApi Allows a testOnly application to get installed.
<p>Not for use by third-party applications.
@hide
-->
<permission android:name="android.permission.INSTALL_TEST_ONLY_PACKAGE"
android:protectionLevel="signature" />
<!-- Allows an application to use System Data Loaders.
<p>Not for use by third-party applications.
@hide

View File

@@ -163,6 +163,7 @@
<uses-permission android:name="android.permission.SET_ORIENTATION" />
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="com.android.permission.USE_INSTALLER_V2" />
<uses-permission android:name="android.permission.INSTALL_TEST_ONLY_PACKAGE" />
<uses-permission android:name="com.android.permission.USE_SYSTEM_DATA_LOADERS" />
<uses-permission android:name="android.permission.MOVE_PACKAGE" />
<uses-permission android:name="android.permission.KEEP_UNINSTALLED_PACKAGES" />