Loading libs/gui/BufferQueueProducer.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -645,7 +645,10 @@ status_t BufferQueueProducer::detachBuffer(int slot) { slot, BufferQueueDefs::NUM_BUFFER_SLOTS); return BAD_VALUE; } else if (!mSlots[slot].mBufferState.isDequeued()) { BQ_LOGE("detachBuffer: slot %d is not owned by the producer " // TODO(http://b/140581935): This message is BQ_LOGW because it // often logs when no actionable errors are present. Return to // using BQ_LOGE after ensuring this only logs during errors. BQ_LOGW("detachBuffer: slot %d is not owned by the producer " "(state = %s)", slot, mSlots[slot].mBufferState.string()); return BAD_VALUE; } else if (!mSlots[slot].mRequestBufferCalled) { Loading Loading
libs/gui/BufferQueueProducer.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -645,7 +645,10 @@ status_t BufferQueueProducer::detachBuffer(int slot) { slot, BufferQueueDefs::NUM_BUFFER_SLOTS); return BAD_VALUE; } else if (!mSlots[slot].mBufferState.isDequeued()) { BQ_LOGE("detachBuffer: slot %d is not owned by the producer " // TODO(http://b/140581935): This message is BQ_LOGW because it // often logs when no actionable errors are present. Return to // using BQ_LOGE after ensuring this only logs during errors. BQ_LOGW("detachBuffer: slot %d is not owned by the producer " "(state = %s)", slot, mSlots[slot].mBufferState.string()); return BAD_VALUE; } else if (!mSlots[slot].mRequestBufferCalled) { Loading