diff options
author | Peter Kalauskas <peskal@google.com> | 2021-07-21 14:41:08 -0700 |
---|---|---|
committer | Peter Kalauskas <peskal@google.com> | 2021-07-22 07:56:24 -0700 |
commit | de8ceeeb35f6d2831ca6c534e4cc69182167b1ae (patch) | |
tree | 583480146e68337f49f295c20d4cf1aee701c73e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ef8407ab7d68e629aae46f141f1a5896a8fd548f (diff) |
Fix behavior when config_guestUserAutoCreated=true
- Show "Resetting guest..." indicator when guest is being auto-created
- If guest fails to auto-create, call refreshUsers() so that we show
"Guest" instead of "Add guest"
Test: With config_guestUserAutoCreated=true, switch to guest, then
select reset guest. Ensure that QS shows "Resetting guest..."
momentarily and then switchs to "Guest"
Test: Repeat steps above, but replace newGuestId = createGuest() with
newGuestId = UserHandle.USER_NULL in scheduleGuestCreation(), and
add a call to Thread.sleep(5000). Ensure the result is the same.
Bug: 191990886
Change-Id: Ie27acacf83842d381e2dc5100267278659053dca
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions