Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit de8ceeeb authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

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
parent ef8407ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment