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

Commit 570023b2 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Changed output of get-main-user." into udc-dev

parents 8b884802 695ab4cb
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -530,10 +530,10 @@ public class UserManagerServiceShellCommand extends ShellCommand {
        PrintWriter pw = getOutPrintWriter();
        PrintWriter pw = getOutPrintWriter();
        final int mainUserId = mService.getMainUserId();
        final int mainUserId = mService.getMainUserId();
        if (mainUserId == UserHandle.USER_NULL) {
        if (mainUserId == UserHandle.USER_NULL) {
            pw.println("Couldn't get main user.");
            pw.println("None");
            return 1;
            return 1;
        }
        }
        pw.println("Main user id: " + mainUserId);
        pw.println(mainUserId);
        return 0;
        return 0;
    }
    }