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

Commit 714edbce authored by Dan Stoza's avatar Dan Stoza Committed by android-build-merger
Browse files

SF: Layer children should call parents' onFirstRef

am: 56eb9754

Change-Id: I52e19fff3793cbcd5935cd55f4a0e4204d4ed53d
parents 9d6c8db4 56eb9754
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -701,6 +701,8 @@ bool BufferLayer::isOpaque(const Layer::State& s) const {
}

void BufferLayer::onFirstRef() {
    Layer::onFirstRef();

    // Creates a custom BufferQueue for SurfaceFlingerConsumer to use
    sp<IGraphicBufferProducer> producer;
    sp<IGraphicBufferConsumer> consumer;