summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2024-11-11 12:33:53 +0100
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2024-11-11 14:08:57 +0100
commit2dd8bf534f704cfb90aa1cc2ce677ad490222436 (patch)
treeb013e89921e3b82f576aa778b8dcd2b941a3c21e /libs/androidfw/ResourceTimer.cpp
parenta33c539a8d90209eb96a07610116ba6d27f160e3 (diff)
Ensure that transitions are started only once
This CL ensures that a single transition can not be started multiple times. This uncovered a bug introduced in ag/29024667: linked transitions would run() their originalTransition rather than simply awaiting for them. This later unveiled that we were using an incorrect coroutineScope {} for linked transitions, as we would wait for all linked transitions to finish before actually re-running the transition again in the original STLState. I didn't add more tests for linked transitions because I plan to remove them in ag/30320655 anyways. Bug: 376438969 Test: atest SceneTransitionLayoutStateTest Flag: com.android.systemui.scene_container Change-Id: Ie91771bea7e2d1db869b302305093283a2604943
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions