diff options
| author | 2024-08-13 14:10:34 +0200 | |
|---|---|---|
| committer | 2024-08-13 14:49:25 +0200 | |
| commit | 02d1eb602902603b745c37708ef53425070b26bf (patch) | |
| tree | 30b776fcd70fc28d7a023637d5b24c46c3a76485 /libs/androidfw/misc.cpp | |
| parent | cf079503c6da2f355dcd3232b97bbcf09cec4253 (diff) | |
Clean-up STLState.finishTransition()
This CL cleans up STLState.finishTransition() so that we don't have to
provide an idleScene anymore: it always finishes to the transition
current scene.
This also fixes a bug in STLState.snapToIdleIfClose: we should only snap
to fromScene (toScene) if progress is close to 0f (1f) AND currentScene
is equal to fromScene (toScene).
Bug: 353679003
Test: atest SceneTransitionLayoutStateTest
Flag: com.android.systemui.scene_container
Change-Id: Ic671bb7b396c9cfd9137213a0daca1797e41f812
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions