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

Skip to content
Commit 8f2abe64 authored by Matt Pietal's avatar Matt Pietal
Browse files

Optimize flows to reduce jank

After some tracing, multiple flows were being recalculated
on every frame during swipe up/swipe down. Use stateIn
to share this same calculation with downstream flows.

Also, remove the shade collapse fade in callback flow. It
just really isn't needed and could produce a delay in
processing future events.

Bug: 326719188
Test: use perfetto to analyze traces
Flag: ACONFIG com.android.systemui.migrate_clocks_to_blueprint
TEAMFOOD

Change-Id: I1c71776b9cc13e964aea77dd5b7ccd91ea5261f2
parent 97ef6a07
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