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

Commit b449de89 authored by Christian Lindeberg's avatar Christian Lindeberg Committed by Steve Kondik
Browse files

Include debugger connection status in error entry

Include the debugger connection status when adding error entry
to DropBox if debugger is connected, "Debugger: Connected".

This can be useful to sort out crashes comming from developers
vs from regular usage.

Change-Id: Ic309066c63778af1577f2b91a95ffca0bd40338c
parent 50bc02d7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -9252,6 +9252,9 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
            sb.append("Subject: ").append(subject).append("\n");
        }
        sb.append("Build: ").append(Build.FINGERPRINT).append("\n");
        if (Debug.isDebuggerConnected()) {
            sb.append("Debugger: Connected\n");
        }
        sb.append("\n");
        // Do the rest in a worker thread to avoid blocking the caller on I/O