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

Commit f6c7388f authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update "clear-bad-process" command consistent with others." into main

parents 5c84e052 3400c3e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4279,7 +4279,6 @@ final class ActivityManagerShellCommand extends ShellCommand {
    }

    int runClearBadProcess(PrintWriter pw) throws RemoteException {
        final String processName = getNextArgRequired();
        int userId = UserHandle.USER_CURRENT;
        String opt;
        while ((opt = getNextOption()) != null) {
@@ -4290,6 +4289,7 @@ final class ActivityManagerShellCommand extends ShellCommand {
                return -1;
            }
        }
        final String processName = getNextArgRequired();
        if (userId == UserHandle.USER_CURRENT) {
            userId = mInternal.getCurrentUserId();
        }