Remove a log in BufferQueueLayer::latchSidebandStream()
Remove the verbose log in latchSidebandStream() because it
can potentially be called on every frame.
Bug: 159511848
Test: m surfaceflinger
Change-Id: I2ffefbe2d7469c869ace67e8483c09ab73f2bc8f
diff --git a/services/surfaceflinger/BufferQueueLayer.cpp b/services/surfaceflinger/BufferQueueLayer.cpp
index 09c10e0..5f95182 100644
--- a/services/surfaceflinger/BufferQueueLayer.cpp
+++ b/services/surfaceflinger/BufferQueueLayer.cpp
@@ -208,10 +208,8 @@
}
bool BufferQueueLayer::latchSidebandStream(bool& recomputeVisibleRegions) {
+ // We need to update the sideband stream if the layer has both a buffer and a sideband stream.
const bool updateSidebandStream = hasFrameUpdate() && mSidebandStream.get();
- ALOGV_IF(updateSidebandStream,
- "[%s] has both sideband stream and buffer. Updating the sideband stream.",
- mName.c_str());
bool sidebandStreamChanged = true;
if (mSidebandStreamChanged.compare_exchange_strong(sidebandStreamChanged, false) ||