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
Loading
Please register or sign in to comment