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

Commit 6208931c authored by Sungtak Lee's avatar Sungtak Lee Committed by android-build-merger
Browse files

Merge "Suppress BufferQueueProducer::dequeueBuffer error logs" into qt-dev am:...

Merge "Suppress BufferQueueProducer::dequeueBuffer error logs" into qt-dev am: 540d8e95 am: 92caec4a
am: d8c81a79

Change-Id: I698266ee29c35aea21cfc7a8c38610a657692ed2
parents db52843d d8c81a79
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -274,8 +274,12 @@ status_t BufferQueueProducer::waitForFreeSlotThenRelock(FreeSlotCaller caller,
        // This check is only done if a buffer has already been queued
        if (mCore->mBufferHasBeenQueued &&
                dequeuedCount >= mCore->mMaxDequeuedBufferCount) {
            BQ_LOGE("%s: attempting to exceed the max dequeued buffer count "
                    "(%d)", callerString, mCore->mMaxDequeuedBufferCount);
            // Supress error logs when timeout is non-negative.
            if (mDequeueTimeout < 0) {
                BQ_LOGE("%s: attempting to exceed the max dequeued buffer "
                        "count (%d)", callerString,
                        mCore->mMaxDequeuedBufferCount);
            }
            return INVALID_OPERATION;
        }