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

Commit 2425010a authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix a typo in userId

Use translatedUserId instead of userId

Bug: 319270476
Test: adb shell pm unstop <package>
Change-Id: I2342644d3c551f26eb8c745d53489b373176c913
parent 246f57f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2678,7 +2678,7 @@ class PackageManagerShellCommand extends ShellCommand {
        }
        final int translatedUserId =
                translateUserId(userId, UserHandle.USER_NULL, "runSetStoppedState");
        mInterface.setPackageStoppedState(pkg, state, userId);
        mInterface.setPackageStoppedState(pkg, state, translatedUserId);
        getOutPrintWriter().println("Package " + pkg + " new stopped state: "
                + mInterface.isPackageStoppedForUser(pkg, translatedUserId));
        return 0;