Skip to content
Commit 4d8adefd authored by Dave Sparks's avatar Dave Sparks Committed by The Android Open Source Project
Browse files

AI 149136: Restore RECORD_AUDIO permission check to MediaRecorder.

  When we moved the media recorder to the media server process, we lost
  the permission check that was done at the process boundary in the
  AudioRecord binder interface because the AudioRecord object is created
  in the same process. This change adds a permission check in the
  MediaRecorderClient:setAudioSource() method.
  BUG=1868334

Automated import of CL 149136
parent 7b7225c8
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