summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-09-20 22:15:37 -0700
committerAmith Yamasani <yamasani@google.com>2012-09-20 22:33:43 -0700
commit920ace0bbc2d4133dbec991d2636c99a57d6245e (patch)
treea69deeaa2cd76a15eaf402faeb95bba608bc6895 /cmds
parent2f98008d06cbe48f0f5619d16f59988952c9b2ca (diff)
downloadframeworks_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.java2
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 {