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

Skip to content
Verified Commit e223eb3d authored by Alexander Martinz's avatar Alexander Martinz
Browse files

Recorder: grant read permissions for apps requesting recordings

Recorder is already properly handling requests to record audio
and return the file as Uri.

However, we also need to explicitly grand read permissions for the
Uri, otherwise the requesting app can not use the recording.

  E MediaPlayerService: Couldn't open fd for content://0@media/external_primary/audio/media/1000000046
  E MediaPlayerNative: Unable to create media player
  E ByodPresentMediaDialog: Cannot play given audio with media player.
  E ByodPresentMediaDialog: java.io.IOException: setDataSource failed.: status=0x80000000

Test: CTS-Verifier - https://source.android.com/docs/compatibility/cts/verifier


  - BYOD Managed Provisioning
    - Start BYOD provisioning flow
    - Sound recorder support cross profile audio capture
Test: manualTests#com.android.cts.verifier.managedprovisioning.ByodFlowTestActivity
Change-Id: Ic107d21ae309a425842b94eeea11c614e3357bbe
Signed-off-by: Alexander Martinz's avatarAlexander Martinz <amartinz@shiftphones.com>
parent ac8a68d6
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