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

Skip to content
Commit 2bd07ff1 authored by Eric Laurent's avatar Eric Laurent
Browse files

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
parent f6adbe0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment