Grant HDMI_CEC permission to Shell

Needed for HDMI_CEC CTS tests to call HdmiControlManager.

Bug: 169914520
Test: atest CtsHdmiCecHostTestCases with changes to tests
Change-Id: Ia997f3910ab4ca3a149b2cbd3b1d3d7e9f7202f2
Merged-In: Ia997f3910ab4ca3a149b2cbd3b1d3d7e9f7202f2
This commit is contained in:
Marvin Ramin
2020-10-22 08:13:33 +02:00
parent cac4499628
commit d6c4631862
2 changed files with 5 additions and 0 deletions

View File

@@ -432,6 +432,8 @@ applications that come with the platform
<permission name="android.permission.MANAGE_DEBUGGING" />
<!-- Permissions required for CTS test - TimeManagerTest -->
<permission name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" />
<!-- Permissions required for CTS test - CtsHdmiCecHostTestCases -->
<permission name="android.permission.HDMI_CEC"/>
</privapp-permissions>
<privapp-permissions package="com.android.statementservice">

View File

@@ -333,6 +333,9 @@
<!-- Permission needed for CTS test - TimeManagerTest -->
<uses-permission android:name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" />
<!-- Permission needed for CTS test - CtsHdmiCecHostTestCases -->
<uses-permission android:name="android.permission.HDMI_CEC" />
<application android:label="@string/app_label"
android:theme="@android:style/Theme.DeviceDefault.DayNight"
android:defaultToDeviceProtectedStorage="true"