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

Commit a379ce3b authored by Peter Kalauskas's avatar Peter Kalauskas Committed by Android (Google) Code Review
Browse files

Merge "Remove guest after "Reset guest" is used in QS" into sc-dev

parents 5e20541f ab0cf8c7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -671,6 +671,7 @@ public class UserSwitcherController implements Dumpable {
                    scheduleGuestCreation();
                }
                switchToUserId(targetUserId);
                mUserManager.removeUser(currentUser.id);
            }
        } catch (RemoteException e) {
            Log.e(TAG, "Couldn't remove guest because ActivityManager or WindowManager is dead");