summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2023-04-26 16:07:01 +0200
committer Eric Laurent <elaurent@google.com> 2023-04-26 16:16:41 +0000
commit2bd07ff1daed36dc1ffd30134e50887996250927 (patch)
tree08379aaf6c4ec26e6e7e1db526ef8537afdc8c45 /libs/androidfw/ResourceTimer.cpp
parentf6adbe0d1fc89dbf5d0421007e06c4de71aa8a2b (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