Use mAnimationType to decide if the insets of the first frame is visible
Previously, we used the visibility of the source from mInitialInsetsState to decide if the insets of the first frame is visible. However, the visibilities of sources in mInitialInsetsState might have already been overridden by the control target, which might be the state after the animation, not before. This CL uses mAnimationType to decide if the insets of the first frame is visible. Fix: 307488639 Test: atest WindowInsetsAnimationTests WindowInsetsAnimationImeTests Change-Id: I707259d977af1d4430e007bf73a4b3c1b148a4a7
Loading
Please register or sign in to comment