History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ccbeb61ac21527839deb115199cbe98fa2b73c05 21-Oct-2014 Guang Zhu <guangzhu@google.com> Block monkey from creating user profiles

Bug: 17721767
Change-Id: Ibf686d6aa5da29411ee23f8ce6826ed93c1fa970
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
aa6634eaca707f7cbf5f5a1d75b90d8d775d254b 06-Oct-2014 Amith Yamasani <yamasani@google.com> Set the default user restrictions to disallow calling and sms

When creating a user via the UI, disallow phone calls and SMS by
default. Primary user must explicitly enable it via Settings.

Bug: 17832802
Change-Id: I18cad4be8493ddc8890b5d90da2df256cb3f1ec9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
f99727cb878f9709f6c0263c0283257decbaebad 17-Sep-2014 Adrian Roos <roosa@google.com> Don't crash if a user can't be created

Bug: 17543257
Change-Id: I3ef4ac1524a0e23b4ce1d77c4c05c97f061adc97
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
64d4dca63f65e4c7d4a829c85ff6670bdd34e2eb 28-Aug-2014 Alexandra Gherghina <alexgherghina@google.com> Assign default icon to users at creation time and in SystemUI.

Right now different code in System UI, Settings app and other places replace the
user icon with their own default. This tries to make it consistent by moving the
mechanism used in Settings in a helper class.

Bug: 17311038
Change-Id: Ic858c65bf82a98b9806dbba029e7cdcf441f372e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
0c6763a19f32f73f8a940aaee7abecb2a04d1889 08-Sep-2014 Adrian Roos <roosa@google.com> Show confirmation dialog when adding user from QS

Bug: 17392352
Change-Id: I522b0427dbb594d5e8ce33e928dfdc896dc961c7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
fdd04d42d2a0fe71236ba0a611ab550f52d8dd35 05-Sep-2014 Adrian Roos <roosa@google.com> Merge changes Ibb63814e,I0322b1e6 into lmp-dev

* changes:
Prevent full shade guesture from doing the wrong thing
Add current user announce to MultiUserSwitch
57cf5702e0634b8cb25daa8f2f73292428ec4e08 03-Sep-2014 Adrian Roos <roosa@google.com> Add current user announce to MultiUserSwitch

Bug: 17142162
Change-Id: I0322b1e653b8ceac473739dc6b52aa3700d81fb8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
092be7de024b8b1a050ad247a016febc795546af 02-Sep-2014 Jason Monk <jmonk@google.com> Don't show add user for simple user switcher

Bug: 17200801
Change-Id: Ideeabf52cae5a6c874fbc9d68be3e79a815db971
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
7805a10c86a2de9fb5ddf41d63075eef342a59ea 22-Aug-2014 Amith Yamasani <yamasani@google.com> Show a user switching dialog before starting the user switch

switchUser() now first shows a dialog and the dialog calls
startUserInForeground to do the actual switch.

Bug: 16661752
Change-Id: Ie4e2e9eec8bf7c2116694072ea8555b8254a0e13
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
bed6e3bedc8845e8f9cd59ad436d140b0875cb6b 21-Aug-2014 Adrian Roos <roosa@google.com> Always put current user first in user switchers

Bug: 16896343
Change-Id: I2de19b3af5d5b2eed1347b41bccf9c9dc87c2e5b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
e5b274ac612400a7bc9f258d4ef3c366cfa1bc11 18-Aug-2014 Amith Yamasani <yamasani@google.com> Rephrase the Exit guest action and dialog text

Exiting guest session -> Removing guest?
Buttons = Cancel / Remove

Bug: 16495144

Change-Id: I3952e0818fa03edff6f9131a32e6469cbaa27b85
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
95ab7849444125387dc88088bb5197ee463d8c17 12-Aug-2014 Amith Yamasani <yamasani@google.com> Decouple user limit from guest creation

Allow Guest to be created even if there are N users.
Allow N users to be created even if there are N-1 users
and a Guest.
Limit number of guests and managed profiles that can
be added.

Added unit tests.

Bug: 15934700
Change-Id: I1a8f0fa38a91d71ef7b2980e05c974244dfc337a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
1940892d891c1d2538f51608b6618af646ab7481 07-Aug-2014 Adrian Roos <roosa@google.com> QS: Make user switcher expand when users don't fit

Also updates the switcher to match the latest redlines.

Bug: 16406694
Change-Id: Ibf44ed9ea2ef4e3c467724eb4c79f1df5b3e49f4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
ccdff62159b41ab130a8f90d30edb9b9542d8c72 06-Aug-2014 Adrian Roos <roosa@google.com> Update User switcher to new spec, implement adding users

Also enforces restrictions on when guests can be added.

Bug: 15545213
Change-Id: Ia03747fbcc39f2b1b20876463c85afbac5057878
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
2daf62ce400fe58c7f0495dda432ba568a75f579 31-Jul-2014 Jason Monk <jmonk@google.com> Don't show guest when user switcher is simple

Bug: 15729059
Change-Id: I9e88f0e7d01044a7096d6fc8d67bcd328014a625
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
723632ea1ae30b33e9c2055194a4464f00c48c61 23-Jul-2014 Adrian Roos <roosa@google.com> Update KeyguardUserSwitcher to use UserSwitcherController

Also wires up the button to expand the keyguard user switcher.
Also respects the EDU simple switcher setting.

Bug: 16043126
Change-Id: I58871ec3323b2cafcacbc747fec5f20c56172969
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
70441467f4dc232cd8e6142f0afc117787dc979b 22-Jul-2014 Adrian Roos <roosa@google.com> Guest: Switch back to previous user when exiting

Adds code to track the last non-guest that was switched
to. Previously, it would always switch back to the owner.

Bug: 15759636
Change-Id: I31415206010f0ab22eedd48eb551cc7ce9b5570f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
5005244f10442e75c1f48973fdddce5facf3f360 17-Jul-2014 Adrian Roos <roosa@google.com> More user switching goodness

- Confirmation when exiting guest
- Dialog when resuming existing guest session (will be HUNed in follow-up CL)
- Properly center user name in QS user switcher

Bug: 15759638
Bug: 16378966
Change-Id: I63a1dd524975408618c10d90a18052f15deec756
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
4d75c079f35d85b687d8349e5e2940447d01198e 17-Jul-2014 Dan Sandler <dsandler@android.com> Shrink user profile bitmaps to 48dp^2.

Can save megabytes of memory.

Bug: 16371371
Change-Id: Ifec5cff3a3376d045ee4e3b605edeb8d9ac93799
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
e9c7d431da85b5bc03ecaa964d7a491b01466a99 17-Jul-2014 Adrian Roos <roosa@google.com> QS Guest fixes

- Fixes NPE when guest has not been created yet
- Reloads pictures only when they changed
- Adds "Exit guest" affordance

Bug: 16363920
Bug: 15759638
Change-Id: I99ff1c4be06fee96c5169fd7c2d31b1b13f7a389
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
00a0b1f397557790cf9ab55fe06e72a96ebc5353 16-Jul-2014 Adrian Roos <roosa@google.com> Implement real QS user switcher

Replaces the stop-gap user switcher with the real deal.
Dimensions may need some further adjustments.

Bug: 15545213
Change-Id: I4399635c03553dac935049d5b8297fe5f5c1dc9a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java