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

Skip to content
Commit be383624 authored by Zhou Song's avatar Zhou Song Committed by Arne Coucheron
Browse files

audiopolicy: update correct device for primary output when FM resumed

When FM resumed after notification tone played, device updated for
primary output is still headset and speaker. This makes the device
to be switched back to headset and speaker after FM started on headset,
and temp mute can be applied for FM as new device changed from combo
device to headset when stopOutput() called for notificaton tone playback.

Update device for all outputs after FM started, and update the current
device of FM playback for primary output to avoid unnecessary temp mute.

Change-Id: I41badee6fb11e8c4574daa8042e38262a41b7735
CRs-Fixed: 1008864
parent 9c3c24d3
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