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

Commit f7d6fa4c authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

Merge "Add foreground status to crash report"

parents 59b69096 1e7b0cde
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -12970,6 +12970,9 @@ public final class ActivityManagerService extends ActivityManagerNative
        final StringBuilder sb = new StringBuilder(1024);
        appendDropBoxProcessHeaders(process, processName, sb);
        sb.append("Foreground: ")
                .append(process.isInterestingToUserLocked() ? "Yes" : "No")
                .append("\n");
        if (activity != null) {
            sb.append("Activity: ").append(activity.shortComponentName).append("\n");
        }