Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 727682d0 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

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
parent a19a33f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment