diff options
| author | 2024-01-08 15:31:08 +0000 | |
|---|---|---|
| committer | 2024-01-08 15:31:08 +0000 | |
| commit | 727682d071bb794930353ab31e4271c805d7a3d0 (patch) | |
| tree | c724e48b0364307bd621420237e1d91d64385d3f /libs/androidfw/AttributeResolution.cpp | |
| parent | a19a33f164e3c671fc9ddd8ea7d3aea09804391d (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/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions