diff options
| author | 2024-10-30 14:22:31 +0000 | |
|---|---|---|
| committer | 2024-10-31 09:18:54 +0000 | |
| commit | 94a9fc5800397efeccdc87177033e7a4a1386ca0 (patch) | |
| tree | d2d7efde60775323f45834525b2a92b3a5b69e8a /libs/androidfw/ObbFile.cpp | |
| parent | 5754baa4be5715b164d3a924e2cd0b327823ee74 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions