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 Change-Id: I047a4013fb3462db3487eab2d1635ea75ae29264
This commit is contained in:
committed by
Kholoud Mohamed
parent
692496d964
commit
dead379e48
@@ -4108,6 +4108,13 @@
|
|||||||
<permission android:name="com.android.permission.USE_INSTALLER_V2"
|
<permission android:name="com.android.permission.USE_INSTALLER_V2"
|
||||||
android:protectionLevel="signature|installer" />
|
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.
|
<!-- Allows an application to use System Data Loaders.
|
||||||
<p>Not for use by third-party applications.
|
<p>Not for use by third-party applications.
|
||||||
@hide
|
@hide
|
||||||
|
|||||||
@@ -163,6 +163,7 @@
|
|||||||
<uses-permission android:name="android.permission.SET_ORIENTATION" />
|
<uses-permission android:name="android.permission.SET_ORIENTATION" />
|
||||||
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
|
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
|
||||||
<uses-permission android:name="com.android.permission.USE_INSTALLER_V2" />
|
<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="com.android.permission.USE_SYSTEM_DATA_LOADERS" />
|
||||||
<uses-permission android:name="android.permission.MOVE_PACKAGE" />
|
<uses-permission android:name="android.permission.MOVE_PACKAGE" />
|
||||||
<uses-permission android:name="android.permission.KEEP_UNINSTALLED_PACKAGES" />
|
<uses-permission android:name="android.permission.KEEP_UNINSTALLED_PACKAGES" />
|
||||||
|
|||||||
Reference in New Issue
Block a user