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

Commit 8304f7f0 authored by Robert Carr's avatar Robert Carr Committed by Rob Carr
Browse files

BLASTBufferQueue: Set consumerIsApp to false

This will get us the same behavior as BufferQueueLayer.

Bug: 173022064
Test: Existing tests pass
Change-Id: I4e6181a1350ba4624e5f067e588b9935148f666e
parent 1ed501fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -123,7 +123,7 @@ BLASTBufferQueue::BLASTBufferQueue(const std::string& name, const sp<SurfaceCont
        mProducer->setMaxDequeuedBufferCount(2);
        mProducer->setMaxDequeuedBufferCount(2);
    }
    }
    mBufferItemConsumer =
    mBufferItemConsumer =
        new BLASTBufferItemConsumer(mConsumer, GraphicBuffer::USAGE_HW_COMPOSER, 1, true);
        new BLASTBufferItemConsumer(mConsumer, GraphicBuffer::USAGE_HW_COMPOSER, 1, false);
    static int32_t id = 0;
    static int32_t id = 0;
    auto consumerName = mName + "(BLAST Consumer)" + std::to_string(id);
    auto consumerName = mName + "(BLAST Consumer)" + std::to_string(id);
    id++;
    id++;