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

Skip to content
Commit 94a9fc58 authored by Eric Laurent's avatar Eric Laurent
Browse files

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
parent 5754baa4
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