History log of /frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1839645126c8e7e0909e8ed8f0686c2122ba6078 28-Jul-2016 Evan Rosky <erosky@google.com> Add support for custom user-switch UI

Given config_customUserSwitchUi, AM/UserController will not show any
UI during user-switch (no dialog or screen-freeze).

Provides a mechanism (WM.setSwitchingUser) by which a custom user-switch
UI can notify WM/Keyguard when it expects a user-switch operation to
be running.

Bug: 29329555
Change-Id: Ic903fc251d7ec3a54bc6a77906d3afa45a6a5fac
/frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.java
ff0939ba7d1a398cc1280f2206d84e024ec19823 02-Jun-2016 Suprabh Shukla <suprabh@google.com> Changing user switching messages for demo mode

Bug: 27280140
Change-Id: I803ba8cf9dbf23b4a66cca8af57441faa2b354b6
/frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.java
4fe508b6d3ceb3c72a79471d3a3a424ffeb71a0a 21-Nov-2015 Suprabh Shukla <suprabh@google.com> Changing the message on user switching dialog.

On systems where primary user is different from the system user,
the message "Switching to Owner..." is displayed while logging out
from any user. Changing it to "Logging out <username>".

Bug: b/25749937

Change-Id: Id519bbd444c6b3f951511d6e566c503d06c510a1
/frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.java
f63b89c0a10b4e3220b0a4aa1703be3aed0c5a98 28-Oct-2015 Fyodor Kupolov <fkupolov@google.com> UserController refactoring

Addressed comments from the previous cl. Added getters for UserController
fields, direct access is no longer allowed. Moved the following methods:
- getUserManagerLocked. Became getUserManager() - because locking is not
necessary, double checked locking will suffice.
- startUserInForeground /showUserSwitchDialog/sendUserSwitchBroadcastsLocked
- handleIncomingUser/unsafeConvertIncomingUserLocked/isUserRunningLocked/
getUsers/getProfileIds

Bug: 24745840
Change-Id: Id5a5cfb9604e08add29bd9a03c8fe5200bc51fef
/frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.java
5e5cb463b6e2540a7ef6c261ba5fed074be536e1 10-Feb-2015 Amith Yamasani <yamasani@google.com> Timeout to ensure user-switching dialog is closed

In the event of user-switch invoked by a remote device admin call,
the window manager does not make window-shown callbacks when the
screen is off. Add a timeout to continue the user switch in case
the callback doesn't come through.

This fixes a stuck "Switching to user.." dialog when a profile
owner requests a user wipe.

Bug: 19275716
Change-Id: I3a51bbaaf3d9ac6c006464360f1146b2499d205b
/frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.java
9c79504225f60c72c947220b6aca928f11279e1c 29-Oct-2014 Craig Mautner <cmautner@google.com> Add enter-animation-done callback for system windows

Existing hidden methods allow activities to be notified when their
windows have completed animating in. This change adds that capability
to system windows using a ViewTreeObserver callback since system
windows lack an activity token.

The first subsystem to use this is the UserSwitchingDialog which was
previously using a 250 msec timeout to dismiss the dialog. That
deadline was often missed leaving the user with no dialog on the
screen during the transition.

Fixes bug 16661752.

Change-Id: I70789e0d9c07112f275e76fb82850926305f290d
/frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.java
c2a8d151dcd8e04dd67e5adbdf68b9795932ad82 25-Aug-2014 Amith Yamasani <yamasani@google.com> Improve user switching interstitial

Layout and string changes.

Bug: 16661752
Change-Id: Ie24fe4683b91923ff357be054b7440fd1fc86ebb
/frameworks/base/services/core/java/com/android/server/am/UserSwitchingDialog.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/services/core/java/com/android/server/am/UserSwitchingDialog.java