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