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

Skip to content
Commit 0d143ae1 authored by Nadav Bar's avatar Nadav Bar Committed by android-build-team Robot
Browse files

Allow playing output to default output device when during uplink playback

Change the current behavior of AudioPolicyManager during incall music playback to allow apps that want to play audio with AUDIO_STREAM_MUSIC to default device to route the audio to the default device chosen by the engine (and not the one forced by the ongoing incall music routing). The current behavior still playes the audio to the default output device, which will be set to the TELEPHONY_TX device whenever there is ongoing uplink playback. This change will only affect a case in which uplink playback is in progress and another app tries to play audio using the music stream at that time.

Test: Tested manually that the behavior described in the bug is fixed and that both apps can play audio to two different output devices.
Bug: 111467967.
Change-Id: I25bccb635ea436bb6827483732e53c49c4b27825
(cherry picked from commit b2f18166)
parent 976d139b
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