Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92b851f9 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed 'cmd user list -v' so it shows the current user.

Fixes: 169185756
Test: adb shell cmd user list -v

Change-Id: I9e947ba7d26be0efc73b96dfeaf565ce49bd46af
parent 0e2927e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4709,7 +4709,7 @@ public class UserManagerService extends IUserManager.Stub {
                final boolean running = am.isUserRunning(user.id, 0);
                final boolean current = user.id == currentUser;
                if (verbose) {
                    pw.printf("%d: id=%d, name=%s, flags=%s%s%s%s%s\n", i, user.id, user.name,
                    pw.printf("%d: id=%d, name=%s, flags=%s%s%s%s%s%s\n", i, user.id, user.name,
                            UserInfo.flagsToString(user.flags),
                            running ? " (running)" : "",
                            user.partial ? " (partial)" : "",