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

Commit baadd723 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Log process exit reason and subreason as strings." into main am: ee330cda

parents a34607df ee330cda
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -5559,8 +5559,9 @@ public final class ProcessList {
    void noteAppKill(final ProcessRecord app, final @Reason int reason,
            final @SubReason int subReason, final String msg) {
        if (DEBUG_PROCESSES) {
            Slog.i(TAG, "note: " + app + " is being killed, reason: " + reason
                    + ", sub-reason: " + subReason + ", message: " + msg);
            Slog.i(TAG, "note: " + app + " is being killed, reason: "
                    + ApplicationExitInfo.reasonCodeToString(reason) + ", sub-reason: "
                    + ApplicationExitInfo.subreasonToString(subReason) + ", message: " + msg);
        }
        if (app.getPid() > 0 && !app.isolated && app.getDeathRecipient() != null) {
            // We are killing it, put it into the dying process list.