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

Commit 092be7de authored by Jason Monk's avatar Jason Monk
Browse files

Don't show add user for simple user switcher

Bug: 17200801
Change-Id: Ideeabf52cae5a6c874fbc9d68be3e79a815db971
parent 2debc99e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ public class UserSwitcherController {
                    }
                }

                if (canCreateUser) {
                if (!mSimpleUserSwitcher && canCreateUser) {
                    records.add(new UserRecord(null /* info */, null /* picture */,
                            false /* isGuest */, false /* isCurrent */, true /* isAddUser */,
                            createIsRestricted));