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

Skip to content
Commit da44ac7f authored by Tiger's avatar Tiger
Browse files

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
parent fb34923b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment