diff options
| author | 2023-11-17 14:52:26 +0100 | |
|---|---|---|
| committer | 2023-12-06 17:29:55 +0100 | |
| commit | 7a8c96d5afa5f8ca70f97872db8fbbc93f7aa4b3 (patch) | |
| tree | f82bbbe4711da1da4883d8bdaa9cdac52f6e03a1 /libs/input/PointerController.cpp | |
| parent | fdd83a368ce288d33df615edf10f83e6a2f82d94 (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