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

Commit d8ba2ecb authored by Song Chun Fan's avatar Song Chun Fan Committed by Android (Google) Code Review
Browse files

Merge "[pm] fix "pm path" on devices where the current user is not the system user" into main

parents 6e98adea 92aa9cba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -741,7 +741,7 @@ class PackageManagerShellCommand extends ShellCommand {
    }

    private int runPath() throws RemoteException {
        int userId = UserHandle.USER_SYSTEM;
        int userId = UserHandle.USER_CURRENT;
        String option = getNextOption();
        if (option != null && option.equals("--user")) {
            userId = UserHandle.parseUserArg(getNextArgRequired());