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

Commit 2c17c2fc authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioService: update ring mute state and call volume synchronously

Update ring mute state and call volumes synchronously in AudioDeviceBroker
message handler when the communication device is updated to avoid audio leaks
due to delays in processing messages.

Note: the ring mute update was made asynchronous to fix b/124193282. But
AudioDeviceBroker was calling setUpdateRingerModeServiceInt() when BT SCO audio
was connected or disconnected although only the ring mute state update done
by muteRingerModeStreams() is necessary in this case as the ringer mode does
not change. muteRingerModeStreams() can be called synchronously.

Bug: 409236185
Test: repro steps in bug
Flag: EXEMPT bug fix.
Change-Id: I882ca87cf116dcb2c17b68dc97aabb734f97b262
parent 5733f2c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment