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

Commit ada86cba authored by Winson Chung's avatar Winson Chung
Browse files

Ignore dying users when testing for number of users on device. (Bug 7332248)

Change-Id: Id5cc0aacba716db5c2306fd72a51ac7cffc4149e
parent e1f4ebf5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@ class QuickSettings {
                mBar.collapseAllPanels(true);
                final UserManager um =
                        (UserManager) mContext.getSystemService(Context.USER_SERVICE);
                if (um.getUsers().size() > 1) {
                if (um.getUsers(true).size() > 1) {
                    try {
                        WindowManagerGlobal.getWindowManagerService().lockNow(
                                LockPatternUtils.USER_SWITCH_LOCK_OPTIONS);