Reapply "AudioService: synchronize audio mode and focus for Telecom"
Reland commit 15f9e56e with fixes to possible leaks in audio mode reset counter. - Use separate message types to avoid overwritting the sender's signal request if another message with REPLACE policy is sent. - Reset the counter systematcially in case of timeout to avoid sticky error conditons. - Reset the counter in case of error processing AudioSystem.setPhoneState() in onUpdateAudioMode(). Also similarly reset the communication device update count in case of timeout in AudioDeviceBroker.setCommunicationDevice(). This reverts commit 38818052dc43a4322d2ae0e113e6544175c198b0. Bug: 375018522 Bug: 350415723 Test: make Flag: EXEMPT bug fix Change-Id: Iacd348b6da01af08796b26232f94d9177a4a591b
Loading
Please register or sign in to comment