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

Commit eba351df authored by Doris Liu's avatar Doris Liu Committed by android-build-merger
Browse files

Ensure layer update include the dirty rect from AVD am: b51b2864 am: c0dccb95

am: 334d3213

Change-Id: I20bf02209a269d6bef3085ae07caade7680b065d
parents ff990d2f 334d3213
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -342,7 +342,6 @@ void RenderNode::prepareTreeImpl(TreeInfo& info, bool functorsNeedLayer) {
        pushStagingDisplayListChanges(info);
    }
    prepareSubTree(info, childFunctorsNeedLayer, mDisplayList);
    pushLayerUpdate(info);

    if (mDisplayList) {
        for (auto& vectorDrawable : mDisplayList->getVectorDrawables()) {
@@ -353,6 +352,7 @@ void RenderNode::prepareTreeImpl(TreeInfo& info, bool functorsNeedLayer) {
            vectorDrawable->setPropertyChangeWillBeConsumed(true);
        }
    }
    pushLayerUpdate(info);

    info.damageAccumulator->popTransform();
}