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

Commit 746c0742 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: Id9c9fe4bd78d23dff92bf3a32c6f16d8e7b96720
parent 4ac3a5d5
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