summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2024-07-31 16:39:20 +0000
committer Matt Pietal <mpietal@google.com> 2024-08-01 13:08:40 +0000
commit2235a04ee4c1804a88bff67abcaf06e3d8edcce5 (patch)
tree32f885d2a2bd37da0bbe29933b10094787887113 /api/api_test.go
parent6dd8be5ee6847b37e0ca4d79a0e247c9d62b0343 (diff)
Fix race condition with manual transitions
Transitions are triggered on background scope. Calls to startTransition were transfered to the main dispatcher, but, manual transitions that used updateTransition were not. This could lead to a very rare race condition where a RUNNING step could be sent after the corresponding CANCEL. Test: atest KeyguardTransitionRepositoryTest Fixes: 353698157 Flag: com.android.systemui.migrate_clocks_to_blueprint Change-Id: I515358f0a9230d660fba4b0703eaad38477edd46
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions