diff options
author | Amith Yamasani <yamasani@google.com> | 2012-09-20 22:15:37 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-09-20 22:33:43 -0700 |
commit | 920ace0bbc2d4133dbec991d2636c99a57d6245e (patch) | |
tree | a69deeaa2cd76a15eaf402faeb95bba608bc6895 /cmds | |
parent | 2f98008d06cbe48f0f5619d16f59988952c9b2ca (diff) | |
download | frameworks_base-920ace0bbc2d4133dbec991d2636c99a57d6245e.zip frameworks_base-920ace0bbc2d4133dbec991d2636c99a57d6245e.tar.gz frameworks_base-920ace0bbc2d4133dbec991d2636c99a57d6245e.tar.bz2 |
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
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/pm/src/com/android/commands/pm/Pm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java index e0f54fb..5f898c2 100644 --- a/cmds/pm/src/com/android/commands/pm/Pm.java +++ b/cmds/pm/src/com/android/commands/pm/Pm.java @@ -1025,7 +1025,7 @@ public final class Pm { public void runListUsers() { try { - List<UserInfo> users = mUm.getUsers(); + List<UserInfo> users = mUm.getUsers(false); if (users == null) { System.err.println("Error: couldn't get users"); } else { |