commit | 920ace0bbc2d4133dbec991d2636c99a57d6245e | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Thu Sep 20 22:15:37 2012 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Thu Sep 20 22:33:43 2012 -0700 |
tree | a69deeaa2cd76a15eaf402faeb95bba608bc6895 | |
parent | 2f98008d06cbe48f0f5619d16f59988952c9b2ca [diff] [blame] |
Query users excluding any being removed Keep track of user creation and last logged-in time. adb shell dumpsys users User switcher shouldn't show users about to be removed. No need to check for singleton for activities. Bug: 7194894 Change-Id: Ic9a59ea5bd544920479e191d1a1e8a77f8b6ddcf
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index cd3aeff..f162dae 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -14034,6 +14034,7 @@ startHomeActivityLocked(userId); } + getUserManagerLocked().userForeground(userId); sendUserSwitchBroadcastsLocked(oldUserId, userId); } } finally {