Loading
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