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

Commit 258446dd authored by Patrick Williams's avatar Patrick Williams
Browse files

SF: Remove unnecessary updateSnapshot call

Bug: 238781169
Test: presubmits
Change-Id: Ib72ca5f4d77283f70f644a30d9c419b4bae56079
parent b7458aee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1558,8 +1558,6 @@ void Layer::setChildrenDrawingParent(const sp<Layer>& newParent) {
                newParent->canDrawShadows() ? 0.f : newParent->mEffectiveShadowRadius;
        child->computeBounds(newParent->mBounds, newParent->mEffectiveTransform,
                             parentShadowRadius);
        child->updateSnapshot(true /* updateGeometry */);
        child->updateChildrenSnapshots(true /* updateGeometry */);
    }
}