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

Commit 2f457b14 authored by Agatha Man's avatar Agatha Man Committed by Automerger Merge Worker
Browse files

Add CAR_DRIVING_STATE and CAR_CONTROL_AUDIO_VOLUME permissions to run am: 39ba8c9c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12142737

Change-Id: Iac1d2e3f7e4d0dbf93eaa86bfe4ccc7e26397be5
parents 9701957f 39ba8c9c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -427,6 +427,10 @@ applications that come with the platform
        <permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
        <!-- Permissions required for CTS test - AdbManagerTest -->
        <permission name="android.permission.MANAGE_DEBUGGING" />
        <!-- Permissions required for ATS tests - AtsCarHostTestCases, AtsCarDeviceApp -->
        <permission name="android.car.permission.CAR_DRIVING_STATE" />
        <!-- Permissions required for ATS tests - AtsDeviceInfo, AtsAudioDeviceTestCases -->
        <permission name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" />
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+5 −0
Original line number Diff line number Diff line
@@ -317,6 +317,11 @@
    <!-- Permissions required for CTS test - AdbManagerTest -->
    <uses-permission android:name="android.permission.MANAGE_DEBUGGING" />

    <!-- Permissions required for ATS tests - AtsCarHostTestCases, AtsCarDeviceApp -->
    <uses-permission android:name="android.car.permission.CAR_DRIVING_STATE" />
    <!-- Permissions required for ATS tests - AtsDeviceInfo, AtsAudioDeviceTestCases -->
    <uses-permission android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" />

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