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

Commit e04a0e7d authored by Jim Huang's avatar Jim Huang Committed by Steve Kondik
Browse files

[surfaceflinger] Clear buffer while unregister


(cherry picked from commit d0d9ad7aa6f59a7434e582169754a8a49f9a9693)

Signed-off-by: default avatarTick Chen <tick@0xlab.org>
parent a2066a99
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ void LayerBuffer::unregisterBuffers()
    sp<Source> source(clearSource());
    if (source != 0)
        source->unregisterBuffers();
    mSource.clear();
}

uint32_t LayerBuffer::doTransaction(uint32_t flags)