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

Skip to content
Commit 9c04de9e authored by Eric Laurent's avatar Eric Laurent
Browse files

Spatializer: fix deadlock in onSupportedLatencyModesChanged

The Spatializer controller must not call AudioFlinger methods from
AudioFlinger callbacks to avoid risks of deadlock with AudioFlinger or
AudioFlinger threads mutexes.

Process the onSupportedLatencyModesChanged() callbakc in the handler
thread instead of synchronously

Bug: 239540985
Test: repro steps in bug
Change-Id: Ia7af5631f26a72adce6ef8dc762196ae58d3f695
parent 79957d47
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