commit | 86548c472afc3700969fafb42b7ce6aa6dae0005 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Sep 13 17:21:46 2011 -0400 |
committer | Mike Lockwood <lockwood@google.com> | Thu Mar 22 15:09:00 2012 -0700 |
tree | 1485858b36f0df289c89607333e81ffe92896390 | |
parent | 4355b001cb736d4aa312231ce129506a3c7f6808 [diff] [blame] |
ActivityManagerService: Disable app crashed dialog on headless builds Change-Id: I78bf2cb2cd9f99db57f447b7bfaca80c4fefbd66 Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index d21212f..7a39c84 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -7394,6 +7394,10 @@ } private boolean handleAppCrashLocked(ProcessRecord app) { + if (mHeadless) { + Log.e(TAG, "handleAppCrashLocked: " + app.processName); + return false; + } long now = SystemClock.uptimeMillis(); Long crashTime;