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

Commit de38940f authored by Bart Van Assche's avatar Bart Van Assche
Browse files

Do not kill the server process itself



Change-Id: I47612fbd6764903b119adde0e414093a875e93da
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 9be9f000
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;