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

Commit d4b903b3 authored by Kyle Hsiao's avatar Kyle Hsiao Committed by Android (Google) Code Review
Browse files

Revert "[pm] fix "pm path" on devices where the current user is not the system user"

This reverts commit 92aa9cba.

Reason for revert: Suspecting to be root cause for b/417786625

BUG: 414329689
Change-Id: Ia155dc10c9965e0b9849a74780b1bccf1bdd3529
parent 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_CURRENT;
        int userId = UserHandle.USER_SYSTEM;
        String option = getNextOption();
        if (option != null && option.equals("--user")) {
            userId = UserHandle.parseUserArg(getNextArgRequired());