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

Commit afb5f5d7 authored by Richard Coles's avatar Richard Coles Committed by Torne (Richard Coles)
Browse files

Add KILL_UID permission to shell for CTS test.

Grant KILL_UID permission to the shell identity for use within CTS
tests.

Bug: 310653407
Test: atest CtsAppTestCases
Flag: TEST_ONLY
Change-Id: I40c4c05eb91dcc1fa1701327e8f0fe01179d59f2
parent 6fd1990f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -585,6 +585,8 @@ applications that come with the platform
        <permission name="android.permission.EXECUTE_APP_FUNCTIONS" />
        <!-- Permission required for CTS test - CtsNfcTestCases -->
        <permission name="android.permission.NFC_SET_CONTROLLER_ALWAYS_ON" />
        <!-- Permission required for CTS test - CtsAppTestCases -->
        <permission name="android.permission.KILL_UID" />
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -948,6 +948,9 @@
    <!-- Permission required for CTS test - CtsNfcTestCases -->
    <uses-permission android:name="android.permission.NFC_SET_CONTROLLER_ALWAYS_ON" />

    <!-- Permission required for CTS test - CtsAppTestCases -->
    <uses-permission android:name="android.permission.KILL_UID" />

    <application
        android:label="@string/app_label"
        android:theme="@android:style/Theme.DeviceDefault.DayNight"