commit | 5aefcd4f2fb19319366af6143db6ed347cf60701 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu Aug 27 14:47:25 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Aug 27 07:51:19 2020 +0000 |
tree | a2ee15d4c208ae5548f8e1d0d72d397156672245 | |
parent | be4cd050a6f803e4604eb7b819de21a0ad2725f6 [diff] |
Wait user switch complete at the end of startActivityValidUser switchUser is not a synchronized operation. That may cause to remove user in tear down before the switch to original user is completed, and system may meet unexpected state by user not found. Bug: 165771802 Test: StartActivityAsUserTests#startActivityValidUser Change-Id: I0d03b691ba32e16e3513dce991ce26ced94f2514