Remove unnecessary animation for an instant change
Otherwise a simple jump-cut position change still takes 336ms.
Except the duration keeps unnecessary animating state for no-op,
it may be easy to overlap with other operations.
It was migrated from I968280ae2915eb571b33a73a1f182228bc8fec74
But since shell transition only restores animation leash after
all animation of the transition are finished. So it no longer
needs an animation to preserve the visibility and layer.
Bug: 393364419
Flag: EXEMPT bugfix
Test: Drag freeform task several times in a short period.
The previous position should not replace new position.
Change-Id: I9513937dab96aa8e1f20d0ae47fc44ee5926773d
Loading
Please register or sign in to comment