From 58d380d2af8079075e4773a3e5ca6c2820760e3d Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Tue, 19 Mar 2013 13:10:03 -0700 Subject: debuggerd now notifies the Activity Manager about native crashes The Activity Manager sets up a permission-guarded domain socket, which debuggerd connects to when a crash happens. If this is successful, the daemon then mirrors the logged crash report to that socket, then closes it. The Activity Manager parses the native crash dump supplied by debuggerd and forwards it to the standard app-crashed code. The UX result is that users now see the normal "app has stopped unexpectedly" dialog with "report" and "okay" options for native crashes, not just for DVM-mediated crashes. Bug 8322568 Change-Id: Ie1b279896c603bd74d82d6cfcfd66a8f231da134 --- services/java/com/android/server/am/ProcessRecord.java | 1 + 1 file changed, 1 insertion(+) (limited to 'services/java/com/android/server/am/ProcessRecord.java') diff --git a/services/java/com/android/server/am/ProcessRecord.java b/services/java/com/android/server/am/ProcessRecord.java index a32af2f..7929f96 100644 --- a/services/java/com/android/server/am/ProcessRecord.java +++ b/services/java/com/android/server/am/ProcessRecord.java @@ -138,6 +138,7 @@ class ProcessRecord { boolean persistent; // always keep this application running? boolean crashing; // are we in the process of crashing? Dialog crashDialog; // dialog being displayed due to crash. + boolean forceCrashReport; // suppress normal auto-dismiss of crash dialog & report UI? boolean notResponding; // does the app have a not responding dialog? Dialog anrDialog; // dialog being displayed due to app not resp. boolean removed; // has app package been removed from device? -- cgit v1.1