commit | ec062f63a2f5fb49f825544da348e594dbf5bf3c | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Wed Nov 03 09:56:54 2010 -0700 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Mon Nov 08 10:39:05 2010 -0800 |
tree | d87954d437798f3a8dc1f2f25edc6fdf134957c8 | |
parent | 3a3f24e37049de6714de64188b1814a6476dbebb [diff] [blame] |
StrictMode: now in more system server threads. Who knew there were so many Loopers in the system server? This adds dropbox logging for the activity manager thread, policy thread, and window manager thread. The goal's to catch more stuttering. Change-Id: I999a6ff4a955f0ef549b12a38796b843ade5fe66
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 7905dc6..ba8d7d2 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -1349,6 +1349,11 @@ } } + // For debug builds, log event loop stalls to dropbox for analysis. + if (StrictMode.conditionallyEnableDebugLogging()) { + Slog.i(TAG, "Enabled StrictMode logging for AThread's Looper"); + } + Looper.loop(); } }