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

Commit e23ed868 authored by Eric Laurent's avatar Eric Laurent
Browse files

Add MODIFY_DEFAULT_AUDIO_EFFECTS permission to shell

Add MODIFY_DEFAULT_AUDIO_EFFECTS permission to shell which
is needed to run GTS tests on @systemApis for
audio effects control.

Bug: 148703417
Test: run gts -m GtsAudioTestCases -t com.google.android.audio.gts.DeviceEffectTest#testCreateDeviceEffect
Change-Id: Iba579001aeffd85743850727135a6f536579ea17
parent 099628bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -400,6 +400,8 @@ applications that come with the platform
        <permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" />
        <!-- Permission required for testing registering pull atom callbacks. -->
        <permission name="android.permission.REGISTER_STATS_PULL_ATOM"/>
        <!-- Permission required for testing system audio effect APIs. -->
        <permission name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"/>
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -278,6 +278,9 @@
    <!-- Permission needed to modify settings overrideable by restore in CTS tests -->
    <uses-permission android:name="android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE" />

    <!-- Permission required for testing system audio effect APIs. -->
    <uses-permission android:name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"/>

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