summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/SystemServer.java
diff options
context:
space:
mode:
authorDan Egnor <egnor@google.com>2010-01-07 17:25:22 -0800
committerDan Egnor <egnor@google.com>2010-01-11 14:51:22 -0800
commit42471dd5552a346dd82a58a663159875ccc4fb79 (patch)
tree67137d33665f7ce22573230ddfc92a6fce964423 /services/java/com/android/server/SystemServer.java
parentc408d5c2782012661f8181e511eda76e3be8cd13 (diff)
downloadframeworks_base-42471dd5552a346dd82a58a663159875ccc4fb79.zip
frameworks_base-42471dd5552a346dd82a58a663159875ccc4fb79.tar.gz
frameworks_base-42471dd5552a346dd82a58a663159875ccc4fb79.tar.bz2
Simplify & update ANR logging; report ANR data into the dropbox.
Eliminate the per-process 200ms timeout during ANR thread-dumping. Dump all the threads at once, then wait for the file to stabilize. Seems to work great and is much, much, much faster. Don't dump stack traces to traces.txt on app crashes (it isn't very useful and mostly just clutters up the file). Tweak the formatting of the dropbox dumpsys a bit, for readability, and avoid running out of memory when dumping large log files. Report build & kernel version with kernel log dropbox entries.
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r--services/java/com/android/server/SystemServer.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 214ecc1..674ade9 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -74,8 +74,6 @@ class ServerThread extends Thread {
EventLog.writeEvent(EventLogTags.BOOT_PROGRESS_SYSTEM_RUN,
SystemClock.uptimeMillis());
- ActivityManagerService.prepareTraceFile(false); // create dir
-
Looper.prepare();
android.os.Process.setThreadPriority(