Change shared looper tag from ACTIVITY_MANAGER to SYSTEM_SERVER

Most of these are shared, so enabling all ActivityManager logging just
to get looper traces seems wrong.

Test: build, trace with system_server tag, see looper info
Change-Id: I3741dbacab25f5c02f6f8d17f0c8377d8f842776
This commit is contained in:
Michael Wright
2017-11-01 22:24:08 +00:00
parent c6a55e5bb0
commit daf72b1bd1
5 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ public final class BackgroundThread extends HandlerThread {
if (sInstance == null) {
sInstance = new BackgroundThread();
sInstance.start();
sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_ACTIVITY_MANAGER);
sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_SYSTEM_SERVER);
sHandler = new Handler(sInstance.getLooper());
}
}