summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Andreas Miko <amiko@google.com> 2023-11-17 14:52:26 +0100
committer Andreas Miko <amiko@google.com> 2023-12-06 17:29:55 +0100
commit7a8c96d5afa5f8ca70f97872db8fbbc93f7aa4b3 (patch)
treef82bbbe4711da1da4883d8bdaa9cdac52f6e03a1 /libs/input/PointerController.cpp
parentfdd83a368ce288d33df615edf10f83e6a2f82d94 (diff)
Refactor SwipeTransition to have immutable from and to Scene
SwipeTransition could change from and to during an ongoing transition. e.g. BOUNCER -> LOCKSCREEN, then LOCKSCREEN -> SHADE. This makes it hard for observers of the TransitionState to notice when a transition was updated. Now the TransitionState has to be updated with a new transition when to or from have changed. Test: new and old tests in SceneGestureHandlerTest Bug: b/310915136 Flag: NONE Change-Id: If4c1a61eb1b92e85bd9f054d404b9dc4b312d781
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions