Give CONTROL_DEVICE_LIGHTS permission to the shell

Bug: 144979010
Bug: 144978691
Test: atest LightsManagerTest
Change-Id: I2b4224e79e013bae27ee068b0a0898b5afa5489a
This commit is contained in:
Robin Lee
2020-01-21 02:06:47 +01:00
parent 33887e0a7e
commit 413dd36486
2 changed files with 5 additions and 0 deletions

View File

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