commit | 3d4b5c9852aa4499a14835d8479a80f937cdd3e9 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Mon Apr 30 18:49:34 2018 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Mon Apr 30 18:49:34 2018 -0700 |
tree | 0e87d78b3e6fdc607472d582dcaab692b8bc8bc7 | |
parent | 8f5b3f19b4b10a55e283c48ba64261e1f33c9b0c [diff] |
Wait for the user to fully stop before starting When starting the user, if the previous state is SHUTDOWN, we need for the user to fully stop to avoid various race conditions like old processes not being killed etc. Test: manual - adb shell am start-user/stop-user N Bug: 78533470 Change-Id: I1a188cc7c7f1f3df5c5448e67e811aba7d9d3b8e