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

Commit 1babd0d8 authored by Chia-I Wu's avatar Chia-I Wu Committed by android-build-merger
Browse files

Merge "surfaceflinger: clear HWC layers in Layer::onRemoved" into oc-dev am: e256ecb5

am: 59cfc5e6

Change-Id: Idb78673c7f1ba98476b2c2aa7609b7e374aa8937
parents 74cb3b6d 59cfc5e6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -298,6 +298,9 @@ void Layer::onRemoved() {
    }

    mSurfaceFlingerConsumer->abandon();

    clearHwcLayers();

    for (const auto& child : mCurrentChildren) {
        child->onRemoved();
    }