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

Skip to content
Commit b0355317 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Avoid recomposing the QS scene every frame

This CL leverages derivedStateOf so that we don't recompose the QS scene
every time the current transition progress has changed. This should
improve the performance of any transition to the Shade or QS scenes.

Bug: 372412931
Test: Performed transitions to Shade and QS scene with Flexiglass on
 and recomposition counts shown in Studio.
Flag: com.android.systemui.scene_container
Change-Id: I0e321ab607214fe62fda5190f64773ef4210d8e9
parent 19719a16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment