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

Commit d8610435 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: 540d8e95

Change-Id: I0e0eca3f7efc7573c809649fea0efb264b1eb0c8
parents 6b3dab45 540d8e95
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line 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
        // This check is only done if a buffer has already been queued
        if (mCore->mBufferHasBeenQueued &&
        if (mCore->mBufferHasBeenQueued &&
                dequeuedCount >= mCore->mMaxDequeuedBufferCount) {
                dequeuedCount >= mCore->mMaxDequeuedBufferCount) {
            BQ_LOGE("%s: attempting to exceed the max dequeued buffer count "
            // Supress error logs when timeout is non-negative.
                    "(%d)", callerString, mCore->mMaxDequeuedBufferCount);
            if (mDequeueTimeout < 0) {
                BQ_LOGE("%s: attempting to exceed the max dequeued buffer "
                        "count (%d)", callerString,
                        mCore->mMaxDequeuedBufferCount);
            }
            return INVALID_OPERATION;
            return INVALID_OPERATION;
        }
        }