commit | 84338c4559cd675cc8727c44bd1b6ad485b1a272 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Apr 05 10:05:47 2011 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Tue Apr 05 10:07:53 2011 -0400 |
tree | 6bf76edc0fd50d3c38650a2e3e6711b854a1b8f3 | |
parent | cace13d72a71cd8802b5804c47f5b5a9a7c01a74 [diff] |
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: Mike Lockwood <lockwood@android.com>