BroadcastQueue: omit overly noisy trace event.

This method is currently called far too often, and pollutes trace
output.  We have some ideas on how to improve in the future, but
remove the tracing for now.

Bug: 253906105
Test: atest FrameworksMockingServicesTests:BroadcastRecordTest
Test: atest FrameworksMockingServicesTests:BroadcastQueueTest
Test: atest FrameworksMockingServicesTests:BroadcastQueueModernImplTest
Change-Id: I414a55fea626d8f2706603fa6709bbf6f087c758
This commit is contained in:
Jeff Sharkey
2022-11-02 12:12:46 -06:00
parent 65edb3b5d1
commit 6d57fc316d

View File

@@ -320,7 +320,6 @@ class BroadcastQueueModernImpl extends BroadcastQueue {
return;
}
final int cookie = traceBegin("updateRunnableList");
final boolean wantQueue = queue.isRunnable();
final boolean inQueue = (queue == mRunnableHead) || (queue.runnableAtPrev != null)
|| (queue.runnableAtNext != null);
@@ -347,8 +346,6 @@ class BroadcastQueueModernImpl extends BroadcastQueue {
if (queue.isEmpty() && !queue.isActive() && !queue.isProcessWarm()) {
removeProcessQueue(queue.processName, queue.uid);
}
traceEnd(cookie);
}
/**