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

Commit d85aee99 authored by Olivier Gaillard's avatar Olivier Gaillard
Browse files

Add the system uptime to crash dumps to better understand crashes happening after reboots.

Change-Id: I42296f41f2a56cd7e25ba33efc191a9119b26477
parent ffa80d0a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9367,6 +9367,8 @@ public class ActivityManagerService extends IActivityManager.Stub
     */
    void appendDropBoxProcessHeaders(ProcessRecord process, String processName,
            final VolatileDropboxEntryStates volatileStates, final StringBuilder sb) {
        sb.append("SystemUptimeMs: ").append(SystemClock.uptimeMillis()).append("\n");
        // Watchdog thread ends up invoking this function (with
        // a null ProcessRecord) to add the stack file to dropbox.
        // Do not acquire a lock on this (am) in such cases, as it