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

Commit 7be38456 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 am: 2f457b14

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

Change-Id: Ib70d1bf25b6c31b5ee8d62914fe94d89f93f391f
parents 4063356f 2f457b14
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -429,6 +429,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"