StrictMode: annotate violations with the Broadcast Intent's action, if any.

Change-Id: If36ab776bb95054a109b5475c6be041c75c7e0af
This commit is contained in:
Brad Fitzpatrick
2010-10-29 15:25:44 -07:00
parent 06487a58be
commit bfb191998e
3 changed files with 34 additions and 0 deletions

View File

@@ -6679,6 +6679,9 @@ public final class ActivityManagerService extends ActivityManagerNative
if (info.numAnimationsRunning != 0) {
sb.append("Animations-Running: ").append(info.numAnimationsRunning).append("\n");
}
if (info.broadcastIntentAction != null) {
sb.append("Broadcast-Intent-Action: ").append(info.broadcastIntentAction).append("\n");
}
if (info != null && info.durationMillis != -1) {
sb.append("Duration-Millis: ").append(info.durationMillis).append("\n");
}