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

Commit f7dceda2 authored by Ben Miles's avatar Ben Miles Committed by Android (Google) Code Review
Browse files

Merge "Fix Process-Runtime field in crash dropbox headers"

parents 0b003f70 64fc30f1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8632,8 +8632,8 @@ public class ActivityManagerService extends IActivityManager.Stub
            sb.append("Foreground: ")
                    .append(process.isInterestingToUserLocked() ? "Yes" : "No")
                    .append("\n");
            if (process.getStartTime() > 0) {
                long runtimeMillis = SystemClock.elapsedRealtime() - process.getStartTime();
            if (process.getStartUptime() > 0) {
                long runtimeMillis = SystemClock.uptimeMillis() - process.getStartUptime();
                sb.append("Process-Runtime: ").append(runtimeMillis).append("\n");
            }
        }