Fix LightRevealScrim jank
Just like ag/25829576 but also include SCREEN_TURNING_ON to stop producing animation frames. The flag activates the light reveal animation for non-AOD scenarios. However, there were performance regressions because depending on the device model the screen would turn off slower or faster but sysui would keep producing frames. This jank would not be visible but it causes regression metrics to alarm. Depending on the device model the animation might be cut off for the last couple frames which is acceptable given that there is no easy deterministic way to coordinate these events. Bug: b/316451404 Test: None Flag: ACONFIG com.android.systemui.Flags.FLAG_LIGHT_REVEAL_MIGRATION DEVELOPMENT Change-Id: Ia763b2975b360ac237ae188b49fa2566b87c8f04
Loading
Please register or sign in to comment