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 >>>)
e25c18da7d2cc3e02620dadfcb976521821bc9d8 18-Jun-2016 Adrian Roos <roosa@google.com> SystemUI: Override notification app name

Overrides the notification app name for all SystemUI notifications.

Change-Id: Ic7676069aa03d5b83f0fbe0e8c3ad9820453118a
Fixes: 26517701
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
d390b893eafae634844d7b8b84efaa7baa199119 05-May-2016 Adrian Roos <roosa@google.com> Fix density change bugs in SystemUI

- Reinflate KeyguardUserSwitcher on density changes.
- Update size of UserAvatar on Keyguard.
- Fix brightness slider width in quick settings.
- Refetch and rescale user icons on density changes.

Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9
Fixes: 28535987
Fixes: 28454340
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
ad2e4bf9f36cf612db6c397feca8effb125ee541 26-Apr-2016 Amith Yamasani <yamasani@google.com> Stop user faster and clear stale broadcasts

Moved several USER_STOPPING registered receivers to listen
to USER_STOPPED, since they don't need to be blocking the
shutdown of the user.

Clear all stale broadcasts when stopping a user, so that we
don't unnecessarily start up processes and deliver stale
broadcasts. This was causing code to run when the user was
already stopped and resulted in crashes when other providers
and services couldn't be started anymore. Hopefully this fixes
many of those races.

Bug: 28371487
Change-Id: Ic35a7a23fa8fe009a53f8bf7545d4dad5fa34134
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
aa7f51fe8c6e54485f0b5037c17777b4695d19e0 16-Mar-2016 Evan Rosky <erosky@google.com> Centralized user icon drawing with badges

Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable

Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
3c2c34bb039e92d68f466b7d194cbbe8241d8d60 05-Apr-2016 Winson <winsonc@google.com> Workaround to ensure that a SystemUI process is always available.

- For a non-primary user, this CL will ensure that the SystemUI process
is started when we are switched to the user. This allows us to
maintain our current user-management model for Recents, which depends
on this process for preloading and state management.

Bug: 27175589
Change-Id: Id985fc2876e6daf06f303b44c0f9d1d3fd377842
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
ad143c09dfbae2f4bb26be8b2a9425edf0562b46 31-Mar-2016 Sudheer Shanka <sudheersai@google.com> Revert "Temporary changes to fix crashes during tests."

This reverts commit 1c15e01f6dc57cbd8dbfb45f60c625703309c4a5.

Change-Id: I9ea2f26c9d95b5429c98a0785b1797bea2e3f945
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
1c15e01f6dc57cbd8dbfb45f60c625703309c4a5 30-Mar-2016 Sudheer Shanka <sudheersai@google.com> Temporary changes to fix crashes during tests.

Bug: 27852443
Change-Id: Ie61e628213281fc921e8de403d27ae1f941352e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
b5690bc3086af1d1f064a080c728090de24d6f96 03-Mar-2016 Fyodor Kupolov <fkupolov@google.com> Added logoutCurrentUser method

Bug: 27299227
Change-Id: I01bad3ec364061236c6a76044062144462336910
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
caab2666bd8dbf1e499c309a62f4dff0056d2948 02-Mar-2016 Fyodor Kupolov <fkupolov@google.com> Restored switchTo method

It is current used in another branch. Restored to fix a breakage.

Change-Id: Iec98bf525b88b6b5b45bffb97a1f3e9b57c492dd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
523c404612c634f6901205fee4f4cae594f62982 25-Feb-2016 Fyodor Kupolov <fkupolov@google.com> Disable switching users if the user is in a call

Also disable "Remove guest" option, which switches the user.

Bug: 20652663
Change-Id: Id3ada14c0b3bfe70e9e1ab7034d27098924d7b45
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
1ddda4793c26fd249590fd3549cf060ecb7c157b 12-Feb-2016 Lenka Trochtova <ltrochtova@google.com> Prevent ephemeral user from being re-entered after stop.

Once the ephemeral user stops, the user's deletion is scheduled.
It takes a while before the user actually disappears and it is not
desirable for the user to be re-entered in the meantime.
Mark the user as disabled on stop and check this flag
in the activity manager to prevent the user from being switched
to again. Also hide the user from user-switching UI.

BUG: 26795729
BUG: 26780152

Change-Id: I83a61674958954b5a210114b88ffa5ae55922c1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
07140f7ffd56bf9d4946eba4e48b21a748125659 17-Feb-2016 Fyodor Kupolov <fkupolov@google.com> Disable switching users until user 0 is unlocked

Switching with user0 locked can be re-enabled by setting
allow_user_switching_when_system_user_locked flag to a non-zero value

Bug: 26933989
Change-Id: I0958058f1cc8a059db9c20930e07183c14c8460a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
76c67aa361f65dfb2f5e03d06cc1ccebce9cecd9 19-Feb-2016 Jason Monk <jmonk@google.com> Add QS long-press -> Settings

Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
a8fbbb30eae03b9ed7a3e6ea78da13480a53b73d 11-Feb-2016 Sudheer Shanka <sudheersai@google.com> Part1 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
b6fc931204a3e7a40ac2dfda67f4b61aef9e4b5b 27-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add padlocks to more qs tiles.

Bug: 26764485
Bug: 26765645
Change-Id: I89bb1b3b9a507772299778a1b3611884441408c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
f6e9228b8a97603d3ceb8f0d61e8d87cf19bd21f 27-Jan-2016 Chris Wren <cwren@android.com> move framework metrics over to new proto

Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
6a13e3be66340c8f408f985219450fec30bbea41 15-Jan-2016 Xiyuan Xia <xiyuan@google.com> Merge "Refactoring for better extendability"
1b30f79cffbe9e0c2b974fa3ee48001edcdd6c05 06-Jan-2016 Xiyuan Xia <xiyuan@google.com> Refactoring for better extendability

- Exposing members of PhoneStatusBar, StatusBarKeyguardViewManager and
KeyguardBouncer to sub class;
- Add a configuable SystemUIFactory as class factory for components;
- Add logoutCurrentUser and switchToByUserId to UserSwitcherController;

BUG:22407003
Change-Id: I3902baf3c721d89217b27a6310c4202a198cb209
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
1c7cda8bbfb848961536a4adbf2c81c5ffddae16 31-Dec-2015 Sudheer Shanka <sudheersai@google.com> Add restricted padlocks to tiles in quick settings.

Change-Id: Ib11a38f8512b811e5713a33055a04a72f1b825f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
c06fbb12984a3d3e4c80ab9f819841acae5b0133 08-Jan-2016 Jason Monk <jmonk@google.com> Move battery saver notification to QS

Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
9cbfc9e212151e84910a22387365644916dde446 08-Oct-2015 Fyodor Kupolov <fkupolov@google.com> Added DISALLOW_RUN_IN_BACKGROUND user restriction

It forces the user to stop instead of going into the background. Also
changed behavior of stopUser method. Now it also attempts to stop related
users along with the specified userId.

Based on ag/807976, with the only difference that it's now a user restriction.

Bug: 24579258
Bug: 24708668
Change-Id: I357298908816fc58feeed83b7e9979fc33d25da6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
cd86ebf1c965c191f46b6480145c9d217a7d841e 30-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Check multi-user support in isUserSwitcherEnabled

isUserSwitcherEnabled now returns false if multi-user is disabled(
supportsMultipleUsers() returns false).

Removed GUEST_USER_ENABLED setting and replaced with DPM.getGuestUserDisabled
check. It currently always returns false, but will be replaced with an actual
policy check.

Bug: 17571233
Change-Id: I41853e8b321b2537952cac5d92e88bfdb8cbd9a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
ce161861c3507c91c25b2491abac1e7611d14c5c 18-Aug-2015 Fyodor Kupolov <fkupolov@google.com> Show guest notification on each user switch

Change-Id: I572ee347a4059789a67f6da4da008a293bcb3596
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
f931053e3386c42ba53af4d288605c2d2c8b941a 18-Aug-2015 Xiyuan Xia <xiyuan@google.com> Merge "Rename fullscreen user switcher config"
40f9dabaa880eaff54099a3763224b241a6668e6 17-Aug-2015 Xiyuan Xia <xiyuan@google.com> Rename fullscreen user switcher config

config_camelCase is the preferred format for config names.

Bug:19908596
Change-Id: I69f953fb1bd74ec61b2845c54a7c54c3c9b6b86e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
fe11a9f714aa2b037a466c13f5abd787a386b35e 18-Aug-2015 Fyodor Kupolov <fkupolov@google.com> Merge "Make notification content clickable for logout/remove guest"
52408f4fb5dab950847aa12e3bea44399ccd0d6e 18-Aug-2015 Fyodor Kupolov <fkupolov@google.com> Make notification content clickable for logout/remove guest

Pressing notification content for logout/remove guest notification, should
trigger the same action as the button below.

Change-Id: I70294b6855e47a67ace71b8232ffc9b320ef8333
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
cc3a74f6ef13ca9a783845e7a04ca6561035c98b 22-Jul-2015 Xiyuan Xia <xiyuan@google.com> Add full screen user switcher to lock screen

- Add a FULLSCREEN_USER_SWITCHER status bar state;
- Switch to this state when lock screen is shown and fullscreen
user switcher is enabled;
- Add a build config and a test boolean system setting to enable
fullscreen switcher;
- Placeholder GridView UI for fullscreen user switcher;

Bug:19908596
Change-Id: Ief1bc987532522245f4172beca19053d34004cee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
80996bbf40ff192117c391074ed2f9b2cde4e69a 25-Jul-2015 Adrian Roos <roosa@google.com> resolved conflicts for merge of d4352533 to master

Change-Id: I2b9b39a76fdda1e470cba3634ed9986e658d9810
4629f1c58c00480b0dbd5a541a26b703b0770bf4 24-Jul-2015 Adrian Roos <roosa@google.com> Merge "Fix janky add guest transition" into mnc-dev
860397f6521249f1e2733e65ccebe0c0e781b82a 23-Jul-2015 Xiaohui Chen <xiaohuic@google.com> sys user split: add user logout

Adding a user logout option as a pending notification. Similar to the
guest user remove notification. This allows the end user to return
to system user "login" screen.

Bug: 19913735
Change-Id: I72c49c12e9c8acef92be2353008468acb3d7a795
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
5891a346abbde5bfe95a52633d05533406cc6a2e 24-Jul-2015 Amith Yamasani <yamasani@google.com> resolved conflicts for merge of 54e9686d to master

Change-Id: I5352ba632c8481168ad6a08861e73b058e617d29
d81f8270bec71ec9a569c8308c42cacd7aba0d23 24-Jul-2015 Amith Yamasani <yamasani@google.com> Require permission for internal broadcast

It was possible for other apps to request removal of the guest user
that was handled by an internal receiver in SystemUI.

Fix requires the broadcast sender to have an internal permission
so that only SystemUI can send that broadcast (PendingIntent).

Bug: 22671268
Change-Id: I63a8ced692e6d1cb2872b962ad247a827dbafbc6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
88b1193ea2880683a6a3fdf9a5a397370a166680 22-Jul-2015 Adrian Roos <roosa@google.com> Fix janky add guest transition

Delay updating the user switcher until the
switch is complete, so we aren't showing
an intermediate state while the screen is
frozen.

Also pokes the UserInfoController to update
the user avatar while the screen is still frozen
so it is ready by thawing time.

Bug: 22557684
Change-Id: I020b8c1ad42c03ab9162ed384ecfe54ed12f998d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
ece1044928d3ba040c5d9396627b55072757c7da 17-Jul-2015 Xiaohui Chen <xiaohuic@google.com> Merge "sys user split: update createUser method"
cfe64c8afa9f30d8874c72440c3992e79fdb60c9 16-Jul-2015 Xiaohui Chen <xiaohuic@google.com> sys user split: update createUser method

After the system user is split out, all users are more or less the same.
We combine the generic user and secondary user create method to reflect
this concept. This also fixes the bug the newly created Primary user
from lock screen contains secondary user restrictions.

Bug: 19913735
Change-Id: Iff8802cd46401081bb444317becaf6ecab934e1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
e19506c500705e2d5c41bbd91582121bc48c6084 17-Jul-2015 Selim Cinek <cinek@google.com> am 2aaf06a4: am d8a090e7: am 4b385459: am 2a10ff08: am 60e15dae: Merge "Fixed a bug where a fingerprint animation was not running" into mnc-dev

* commit '2aaf06a4c769a62cc4aeef09cee3806e73ad3fca':
Fixed a bug where a fingerprint animation was not running
e8bae6288bf0f241f0cea70f2c5e8294f930d4d8 15-Jul-2015 Selim Cinek <cinek@google.com> Fixed a bug where a fingerprint animation was not running

Previously the fingerprint animation would not run
when we successfully unlocked with the fingerprint,
because we were checking for the wrong state.

Bug: 22483380
Change-Id: I8d3ec303a43323431b8866df29ddd6d668edc1ed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
7cb69df507f5f7956c52a2868a0d6e89aec6dde2 14-Jul-2015 Xiaohui Chen <xiaohuic@google.com> sys user split: refactor systemui user switcher

BUG:19913735
Change-Id: I017dd1b03fd163c266b8080b969fb7a2e934e26c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
8a3a964d0ad13374a4c4ee8a8a1b12aa00e577f0 05-Jun-2015 Jason Monk <jmonk@google.com> Show Cast Tile when trusted

Add a trusted state to the KeyguardMonitor and update uses of it
to treat trusted as if it weren't secure.

Bug: 19709691
Change-Id: Ic46818b6c27e0bd093c7c3af904388fcb870c4c4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
457a21cdeac04565a0c40ad8c43a928c1182ddd1 06-May-2015 Chris Wren <cwren@android.com> add logging to quick settings tiles

QS Grid visibility
Tiles that are visibile in the grid
Taps on tiles
Detail visibility for DND, Users, and Data

Bug: 20264417
Change-Id: I95e65484a9be0a53a071bc12ce8195120582621e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
f4d6ad26636760163083ae84c40d5b19cb6650f6 13-Apr-2015 Fyodor Kupolov <fkupolov@google.com> Display a notification for a new guest

Display a notification for a new guest, which includes information that they
are using the device as a guest and how to remove guest.

Bug: 16956833
Change-Id: I21711949d3a80eaca47251faa6ee0cf04b5bf3e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
844c92b444dca7f5ef4d0943fb14e2cbeee49701 01-Dec-2014 Adrian Roos <roosa@google.com> Refresh user list a little more eagerly

Unfortunately, we don't get a signal when user restrictions such as
for adding new users change. That means the user switcher UI could get
out of sync and showed the add user option when in fact it couldn't add one.

Also cleans up an unused method.

Bug: 18292723
Change-Id: I56f6f848d967d9d1c11bd6262eacbdb11f90cfe2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
c5db390f5b5c6c685267dd22cf3b2926f54fba35 21-Nov-2014 Adrian Roos <roosa@google.com> Revert "Only keep user switcher bitmaps if needed"

This reverts commit cba0faadbe1c8cf7c6b264b761d747f7381a2f93
with change id I416beb82156787e61ee1f59b6726fd702f135f68.

It keeps the fix preventing us from reclipping already loaded
bitmaps.

Bug: 18350670
Change-Id: I0562d38d2a6eb0b715adcd4ca77512f2cbedd320
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
cba0faadbe1c8cf7c6b264b761d747f7381a2f93 17-Nov-2014 Adrian Roos <roosa@google.com> Only keep user switcher bitmaps if needed

Only keeps icons if the user switcher is accessible. On phones, this
is any time quick settings is expanded. On tablets, this would be whenever
the keyguard shows. Reloading them on each screen off transition seems too
wasteful however, so we keep them in-memory all the time on tablets.

Bug: 18350670
Change-Id: I416beb82156787e61ee1f59b6726fd702f135f68
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
2b154a9ec32915fe4a0dbc648344586fb5fa0261 17-Nov-2014 Adrian Roos <roosa@google.com> Reduce user icon RAM usage

Reduces the size of the icon in UserInfoController. Also
prevents UserSwitcherController from being instantiated if user
switching is not available.

Bug: 18350670
Change-Id: I38fbf28fad87e5c0d999ab6e3764f93269a95e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
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