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

Commit c3e0cdb2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix ALOGE_IF log in bufferhubqueue" into oc-dr1-dev

parents fec340ea 8dd8f6cd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -488,7 +488,7 @@ Status<std::vector<size_t>> ProducerQueue::AllocateBuffers(

  if (buffer_slots.size() == 0) {
    // Error out if no buffer is allocated and improted.
    ALOGE(TRACE, "ProducerQueue::AllocateBuffers: no buffer allocated.");
    ALOGE_IF(TRACE, "ProducerQueue::AllocateBuffers: no buffer allocated.");
    ErrorStatus(ENOMEM);
  }

@@ -509,7 +509,7 @@ Status<size_t> ProducerQueue::AllocateBuffer(uint32_t width, uint32_t height,
  }

  if (status.get().size() == 0) {
    ALOGE(TRACE, "ProducerQueue::AllocateBuffer: no buffer allocated.");
    ALOGE_IF(TRACE, "ProducerQueue::AllocateBuffer: no buffer allocated.");
    ErrorStatus(ENOMEM);
  }