StrictMode.Span support
Support for annotating critical regions (e.g. animations) with a tag to be uploaded. Change-Id: I412fc78f40dc05c9a3c9f62a4b0463201dbdb767
This commit is contained in:
@@ -6702,9 +6702,14 @@ public final class ActivityManagerService extends ActivityManagerNative
|
||||
if (info.broadcastIntentAction != null) {
|
||||
sb.append("Broadcast-Intent-Action: ").append(info.broadcastIntentAction).append("\n");
|
||||
}
|
||||
if (info != null && info.durationMillis != -1) {
|
||||
if (info.durationMillis != -1) {
|
||||
sb.append("Duration-Millis: ").append(info.durationMillis).append("\n");
|
||||
}
|
||||
if (info.tags != null) {
|
||||
for (String tag : info.tags) {
|
||||
sb.append("Span-Tag: ").append(tag).append("\n");
|
||||
}
|
||||
}
|
||||
sb.append("\n");
|
||||
if (info.crashInfo != null && info.crashInfo.stackTrace != null) {
|
||||
sb.append(info.crashInfo.stackTrace);
|
||||
|
||||
Reference in New Issue
Block a user