summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2024-06-04 20:45:40 +0800
committer Tiger <tigerhuang@google.com> 2024-06-04 22:31:56 +0800
commit6d0d769527da1e5077e3c16f6376c5025e813a9d (patch)
tree6fd6ec8accf477a4c30eaccfafadc92c73e16f2c /libs/input/PointerController.cpp
parent2767bf3cde0d771b17833a223e4964b3b1473945 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions