History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/GuestResumeSessionReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1df1473008c24487701c5bc15f39ed9f9697f421 30-Aug-2014 Amith Yamasani <yamasani@google.com> Make it possible to remove current user

Due to the async nature of switching users, it's not possible to
switch and remove immediately. So mark the switch target user as
soon as the user switch is requested, so that a remove will proceed
without failing at stopUserLocked().

Also, fix a similar problem with deleting the current guest and
switching to a new guest. It was attempting to remove the current
user which will result in a failed stopping of the user.
Added a way to mark the current guest
for deletion so that a new one can be created, switched to and the
old one deleted. If runtime fails, old guest is already marked for
deletion and will be cleaned up on restart.

Bug: 17321533
Change-Id: I4be0fb956227e0bb95588b5b1f2867fb1e655c0d
/frameworks/base/packages/SystemUI/src/com/android/systemui/GuestResumeSessionReceiver.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/GuestResumeSessionReceiver.java