diff options
| author | 2023-04-26 16:07:01 +0200 | |
|---|---|---|
| committer | 2023-04-26 16:16:41 +0000 | |
| commit | 2bd07ff1daed36dc1ffd30134e50887996250927 (patch) | |
| tree | 08379aaf6c4ec26e6e7e1db526ef8537afdc8c45 /libs/androidfw/ResourceTimer.cpp | |
| parent | f6adbe0d1fc89dbf5d0421007e06c4de71aa8a2b (diff) | |
AudioDeviceBroker: fix deadlock with setA2dpSuspended
There is a potential deadlock between AudioDeviceBroker and
HFP HeadsetService when AudioManager.setA2dpSuspended (or
setLeAudioSuspended) is called.
To avoid it, process the suspend requests in the message handler
instead of synchronously.
Bug: 278668288
Fixes: 279558132
Test: repro steps in bug
Change-Id: I83e3a5e918224f63f39438e30221db06f1dc2ad0
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions