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

Commit 9be54b5b authored by Robin Lee's avatar Robin Lee
Browse files

Give CONTROL_DEVICE_LIGHTS permission to the shell

Bug: 144979010
Bug: 144978691
Test: atest LightsManagerTest
Change-Id: I2924460c76ce4545c9c3dd3875456b936fe3fc69
Merged-In: I2b4224e79e013bae27ee068b0a0898b5afa5489a
parent 3e376b79
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -350,6 +350,8 @@ applications that come with the platform
        <!-- Permissions required to test ambient display. -->
        <permission name="android.permission.READ_DREAM_STATE" />
        <permission name="android.permission.WRITE_DREAM_STATE" />
        <!-- Permission required to test lights control APIs. -->
        <permission name="android.permission.CONTROL_DEVICE_LIGHTS" />
        <permission name="android.permission.REBOOT"/>
    </privapp-permissions>

+3 −0
Original line number Diff line number Diff line
@@ -236,6 +236,9 @@
    <!-- Permission needed to test mainline permission module rollback -->
    <uses-permission android:name="android.permission.UPGRADE_RUNTIME_PERMISSIONS" />

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

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