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

Commit 84338c45 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Fix deadlock in MountService



It is not safe to call into vold with a lock held on mVolumeStates
since we will receive events back from vold on a different thread.
So in the boot completed handler we make a copy of the volume list and
then call vold to mount volumes after releasing the lock

Change-Id: I0dee91f09e4056132aaaf0fb0a663148c65db1e4
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent cace13d7
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