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

Commit 413dd364 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: I2b4224e79e013bae27ee068b0a0898b5afa5489a
parent 33887e0a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -361,6 +361,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" />
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -243,6 +243,9 @@
    <uses-permission android:name="android.permission.READ_DREAM_STATE"/>
    <uses-permission android:name="android.permission.WRITE_DREAM_STATE"/>

    <!-- 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"