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

Commit 22472c63 authored by Neil Fuller's avatar Neil Fuller
Browse files

Add permission to shell for CTS test

This grants the shell app the SUGGEST_EXTERNAL_TIME permission needed
for the TimeManagerTest (CTS) to invoke the
TimeManager.suggestExternalTime() method during tests.

Bug: 184947690
Bug: 177079827
Test: See associated cts change
Merged-In: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
Change-Id: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
parent ced78f53
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -444,6 +444,7 @@ 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" />
        <permission name="android.permission.SUGGEST_EXTERNAL_TIME" />
        <!-- Permissions required for CTS test - CtsHdmiCecHostTestCases -->
        <permission name="android.permission.HDMI_CEC"/>
        <!-- Permission required for CTS test - MediaPlayerTest -->
+2 −1
Original line number Diff line number Diff line
@@ -427,8 +427,9 @@
    <!-- Permission needed for CTS test - DisplayTest -->
    <uses-permission android:name="android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS" />

    <!-- Permission needed for CTS test - TimeManagerTest -->
    <!-- Permissions needed for CTS test - TimeManagerTest -->
    <uses-permission android:name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" />
    <uses-permission android:name="android.permission.SUGGEST_EXTERNAL_TIME" />

    <!-- Permission needed for CTS test - CtsHdmiCecHostTestCases -->
    <uses-permission android:name="android.permission.HDMI_CEC" />