Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bacaaec authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove a log in BufferQueueLayer::latchSidebandStream()"

parents f7f62f31 d6280d6b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -208,10 +208,8 @@ bool BufferQueueLayer::getSidebandStreamChanged() const {
}

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) ||