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

Commit f899e411 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

Remove misleading and wrong ALOGW

Bug: 6476587
Change-Id: I4345f1100db02786bb50ad83ca7b559cad301706
parent ed9807bd
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -994,8 +994,6 @@ status_t BufferQueue::setBufferCountServer(int bufferCount) {
}

void BufferQueue::freeAllBuffersExceptHeadLocked() {
    ALOGW_IF(!mQueue.isEmpty(),
            "freeAllBuffersExceptCurrentLocked called but mQueue is not empty");
    int head = -1;
    if (!mQueue.empty()) {
        Fifo::iterator front(mQueue.begin());