summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2024-01-08 15:31:08 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2024-01-08 15:31:08 +0000
commit727682d071bb794930353ab31e4271c805d7a3d0 (patch)
treec724e48b0364307bd621420237e1d91d64385d3f /libs/androidfw/Util.cpp
parenta19a33f164e3c671fc9ddd8ea7d3aea09804391d (diff)
Make MainThreadUnfoldTransitionProgressProvider callback registration thread safe
This fixes a potential crash from UnfoldTransitionRepositoryImpl. When the transitionStatus flow was being collected from the background, it could have called the addCallback method from that bg thread. The "assertMainThread" is not needed anymore now. Flag: ACONFIG unfold_animation_background_progress TRUNKFOOD Test: MainThreadUnfoldTransitionProgressProviderTest Fixes: 318958512 Change-Id: I41cb9ec5612a931b804f703993c324a2a2512575
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions