summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/am/ProcessRecord.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2013-03-19 13:10:03 -0700
committerChristopher Tate <ctate@google.com>2013-04-01 13:50:23 -0700
commit58d380d2af8079075e4773a3e5ca6c2820760e3d (patch)
tree933982bf47562f3ea228e2df69fbee39dfa986d3 /services/java/com/android/server/am/ProcessRecord.java
parent257719ec2a6f1949a08900b4b5cc625f1f8d8c26 (diff)
downloadframeworks_base-58d380d2af8079075e4773a3e5ca6c2820760e3d.zip
frameworks_base-58d380d2af8079075e4773a3e5ca6c2820760e3d.tar.gz
frameworks_base-58d380d2af8079075e4773a3e5ca6c2820760e3d.tar.bz2
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
Diffstat (limited to 'services/java/com/android/server/am/ProcessRecord.java')
-rw-r--r--services/java/com/android/server/am/ProcessRecord.java1
1 files changed, 1 insertions, 0 deletions
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?