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
This commit is contained in:
committed by
Johan Redestig
parent
7d9c73fb6f
commit
03d2ca6ee0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user