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

Skip to content
Commit 1cc196a9 authored by Matt Pietal's avatar Matt Pietal
Browse files

Optimize animation flows

As more code uses keyguard transition animations, more and more
continuations are piling up on the main thread, with that vast
majority of them rerunning the same Flow over and over.

This introduces intermediate SharedFlows in
KeyguardTransitionAnimationFlow. Each transition is an Edge in the
graph, and each Edge now has a dedicated SharedFlow object on which
they can collect very specific events.

Bug: 318582599
Test: atest com.android.systemui.keyguard.ui
Flag: N/A - Fixes baseline jank issues

Change-Id: I5f9ec5f52e36e86b640f21924c874c7d0e70fc55
parent a5dcf9e3
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