diff --git a/wmserver/src/window_layout_policy.cpp b/wmserver/src/window_layout_policy.cpp index c59eced0..6d8b40b7 100644 --- a/wmserver/src/window_layout_policy.cpp +++ b/wmserver/src/window_layout_policy.cpp @@ -998,11 +998,6 @@ static void SetBounds(const sptr& node, const Rect& winRect, const R void WindowLayoutPolicy::UpdateSurfaceBounds(const sptr& node, const Rect& winRect, const Rect& preRect) { - if (node->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT || - node->GetWindowProperty()->GetAnimationFlag() == static_cast(WindowAnimation::CUSTOM)) { - WLOGFI("not need to update bounds"); - return; - } wptr weakNode = node; auto SetBoundsFunc = [weakNode, winRect, preRect]() { auto winNode = weakNode.promote();