Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dead379e authored by kholoud mohamed's avatar kholoud mohamed Committed by Kholoud Mohamed
Browse files

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
parent 692496d9
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4108,6 +4108,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
+1 −0
Original line number Diff line number Diff line
@@ -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" />