Update requested state after applying pending frames
When there is an insets animation, we will stop updating insets source
frames until the animation is done. The previous logic didn't update the
frames within the requested state while the animation is done. And the
frames was relied by InsetsPolicy while playing transient bar animation.
If the frames don't match the display, the insets would be wrong, and
the animation wouldn't be played correctly.
Test: atest InsetsControllerTest
(cherry picked from commit 23c75281ef0de8fb2b44fb93d8cf36ecf86454c7)
(cherry picked from commit dfc8abb1ffc7bf6c7d7b47cf2e9e14bf6422f95c)
2 files changed