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

Commit b38b1408 authored by Bart Van Assche's avatar Bart Van Assche Committed by Gerrit Code Review
Browse files

Merge "Do not kill the server process itself"

parents d7f30280 de38940f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2573,7 +2573,10 @@ public final class ProcessList {
                    + ", " + reason);
            app.setPendingStart(false);
            killProcessQuiet(pid);
            Process.killProcessGroup(app.uid, app.getPid());
            final int appPid = app.getPid();
            if (appPid != 0) {
                Process.killProcessGroup(app.uid, appPid);
            }
            noteAppKill(app, ApplicationExitInfo.REASON_OTHER,
                    ApplicationExitInfo.SUBREASON_INVALID_START, reason);
            return false;