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

Commit 9ebc56d6 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Add MODIFY_AUDIO_ROUTING permission to shell for CTS test.

Grant MODIFY_AUDIO_ROUTING permissions to the shell identity
for use within CTS tests.

Bug: 183428114
Test: CTS passed with the permission
Change-Id: I6e8c7553d7fe3263c0345adf0fe67340e5afcbe5
parent 1431702c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -499,6 +499,8 @@ applications that come with the platform
        <permission name="android.permission.REGISTER_MEDIA_RESOURCE_OBSERVER" />
        <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
        <permission name="android.permission.SCHEDULE_PRIORITIZED_ALARM" />
        <!-- Permission required for CTS test - SystemMediaRouter2Test -->
        <permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -455,6 +455,9 @@
    <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
    <uses-permission android:name="android.permission.SCHEDULE_PRIORITIZED_ALARM" />

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

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