Prevent changing mFromState during insets resize animation
This CL uses a new InsetsState as the mFromState, instead of using
mLastDispatchedState. So when mLastDispatchedState is chaged, the
mFromState in InsetsResizeAnimationRunner won't be affected.
The change can also improve the efficiency when iterating the sources in
InsetsResizeAnimationRunner#applyChangeInsets, because the mFromState
only contains necessary insets sources now.
Fix: 343412265
Test: atest InsetsControllerTest
Change-Id: Ib9217ad5cdfc912bc7a7cfaf772d585e3f249649
2 files changed