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

Commit 38231c3c authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Don't assume that graphicsLayer blocks run after effects

This CL relaxes code that previously assumed that effects were always
running before graphics layer code. This was the case before but it's
not the case anymore. Unfortunately, this also means that we lose the
ability to detect (and crash) when an AnimatedValue is read during
composition. To compensate this, AnimatedValue.value is now annotated
with @FrequentlyChangingValue, which at least provides a warning when it
is read during composition.

See b/432799675 for details.

Bug: 35368168
Test: atest PlatformComposeSceneTransitionLayoutTest
Test: atest AnimatedSharedAsStateTest
Flag: EXEMPT bugfix
Change-Id: Ia4f0c956d938d88c3d79ed0be516d94cdec22da7
parent 75aa2493
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment