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

Commit 6d7c6002 authored by Jiwen 'Steve' Cai's avatar Jiwen 'Steve' Cai Committed by android-build-merger
Browse files

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

am: 05a81339

Change-Id: I8fec5db7cc3248c8142f08f9fd896d6bd16dd5b2
parents 01dc26cd 05a81339
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);
  }