commit | efd1f1242b7010adbad19ccee2e3d3c2786bf374 | [log] [tgz] |
---|---|---|
author | yuanhuihui <yuanhuihui@xiaomi.com> | Wed Jul 13 21:21:03 2016 +0800 |
committer | yuanhuihui <yuanhuihui@xiaomi.com> | Mon Sep 05 13:54:00 2016 +0800 |
tree | 46d33db1db52b77772e2a53e2ef53688649a7473 | |
parent | f7c508ae09ad9dce600af23572d3d618c9ff8475 [diff] |
fixes mStartedUsers shoule be locked by mLock, not mVolumes when create/delete multiple user, plug/unplug externel storage(such as sdcard) at the same time. multiple threads run concurrency , the newly created user can not get state of externel storage. https://code.google.com/p/android/issues/detail?id=215901 Change-Id: I097f5291108af89a430e12045376065d71d48175 Signed-off-by: yuanhuihui <yuanhuihui@xiaomi.com>