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

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

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
parent 2767bf3c
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