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

Commit 95c59ea5 authored by Vlad Popa's avatar Vlad Popa
Browse files

Fix deadlock caused by wrong locking order

The correct order to lock is mSettingsLock -> VolumeStreamState.class.
In some cases this order was broken which lead to some deadlocks. Add
quick fix. Might still need to investigate whether we need both locks,
for details see b/287066735

Test: atest AudioManagerTest
Bug: 283969676
Bug: 283436164
Change-Id: I27afb8da18511291f8786833bf55250097a8e705
Merged-In: Id9c9fe4bd78d23dff92bf3a32c6f16d8e7b96720
parent 0665ff26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment