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

Commit f5feddc8 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 12305894 from 88df44d1 to 24Q4-release

Change-Id: I0c60a62b16a5b87af12c1e7a2284a863aa27aadd
parents 740a259a 88df44d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ static constexpr int kMaxDequeueMax = ::android::BufferQueueDefs::NUM_BUFFER_SLO

c2_status_t retrieveAHardwareBufferId(const C2ConstGraphicBlock &blk, uint64_t *bid) {
    std::shared_ptr<const _C2BlockPoolData> bpData = _C2BlockFactory::GetGraphicBlockPoolData(blk);
    if (bpData->getType() != _C2BlockPoolData::TYPE_AHWBUFFER) {
    if (!bpData || bpData->getType() != _C2BlockPoolData::TYPE_AHWBUFFER) {
        return C2_BAD_VALUE;
    }
    if (__builtin_available(android __ANDROID_API_T__, *)) {