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

Skip to content
Commit df2ece43 authored by Eric Laurent's avatar Eric Laurent Committed by Andy Hung
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
Merged-In: Ia7af5631f26a72adce6ef8dc762196ae58d3f695
Change-Id: Ia7af5631f26a72adce6ef8dc762196ae58d3f695
parent 132e839c
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