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

Commit 3f373070 authored by Peter Kalauskas's avatar Peter Kalauskas Committed by Automerger Merge Worker
Browse files

Merge "Remove guest after "Reset guest" is used in QS" into sc-dev am: a379ce3b am: 52f86471

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15163953

Change-Id: I6351cb39f2ae17990e698ab1dd8e8a9da56f01ac
parents f592c9e0 52f86471
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");