Skip to content
Commit 5b74e8e1 authored by Eric Laurent's avatar Eric Laurent
Browse files

MediaRecorder: add privileged permission for AudioSource.RADIO_TUNER

MediaRecorder.AudioSource.RADIO_TUNER is @SystemApi and as such
must be guarded by a privileged permission.
Use android.permission.CAPTURE_AUDIO_OUTPUT as it matches the
use case of capturing what is played by the device and not
capturing from a microphone.

Bug: 135717621
Test: CTS tests for AudioRecord
Change-Id: Ic5dc191cb2340d7614f51c5acb0bac6156d214ab
parent 3e4d7423
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment