diff options
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/gui/BufferQueueProducer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/gui/BufferQueueProducer.cpp b/libs/gui/BufferQueueProducer.cpp index df308d897b..5fe5e71db9 100644 --- a/libs/gui/BufferQueueProducer.cpp +++ b/libs/gui/BufferQueueProducer.cpp @@ -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) { |