diff options
author | Jason Monk <jmonk@google.com> | 2014-09-03 15:36:25 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-03 15:36:25 +0000 |
commit | d71f9bae20e0840ee56583400bbcd603addee5e7 (patch) | |
tree | 4f6369d545e6cd73a5e38ef9672dd03dac7bcac8 /packages/SystemUI | |
parent | 3122205edc09d31084c0b3cb700b49b5ee959bff (diff) | |
parent | 464775b39d077d7d586d1a24719755aab21840e2 (diff) | |
download | frameworks_base-d71f9bae20e0840ee56583400bbcd603addee5e7.zip frameworks_base-d71f9bae20e0840ee56583400bbcd603addee5e7.tar.gz frameworks_base-d71f9bae20e0840ee56583400bbcd603addee5e7.tar.bz2 |
am 22593668: am 1ab4a05d: am 46295dc1: Merge "Don\'t show add user for simple user switcher" into lmp-dev
* commit '225936681f6aa04d4c4cfee67abd96b5729e595a':
Don't show add user for simple user switcher
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java index adb71e7..e4b1945 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java @@ -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)); |