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

Commit 4feeee88 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

Allow com.android.shell to get RECORD_AUDIO permissions.



Camera CTS tests, while running with system cameras assume shell
identity for permission checking, recording tests need permissions to
record audio.

Bug: 138130599

Test: CTS camera RecordingTest with system camera.

Change-Id: I987eff88ebd06ff85024de1bfe0edb7e0fb0fa8e
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 556815d7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -172,6 +172,8 @@
    <!-- Permissions needed to test system only camera devices -->
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.SYSTEM_CAMERA" />
    <!-- Permissions needed for CTS camera test: RecordingTest.java when assuming shell id -->
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <!-- Permission needed to enable/disable Bluetooth/Wifi -->
    <uses-permission android:name="android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED" />
    <uses-permission android:name="android.permission.MANAGE_WIFI_WHEN_WIRELESS_CONSENT_REQUIRED" />