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

Commit 89d539ac authored by Adam Bookatz's avatar Adam Bookatz Committed by Android (Google) Code Review
Browse files

Merge "Add user type to 'user list -v' output"

parents e43df490 607dc521
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -5087,8 +5087,11 @@ public class UserManagerService extends IUserManager.Stub {
                            Binder.restoreCallingIdentity(ident);
                        }
                    }
                    pw.printf("%d: id=%d, name=%s, flags=%s%s%s%s%s%s%s%s%s\n", i, user.id,
                    pw.printf("%d: id=%d, name=%s, type=%s, flags=%s%s%s%s%s%s%s%s%s\n",
                            i,
                            user.id,
                            user.name,
                            user.userType.replace("android.os.usertype.", ""),
                            UserInfo.flagsToString(user.flags),
                            hasParent ? " (parentId=" + user.profileGroupId + ")" : "",
                            running ? " (running)" : "",