commit | b0355317db34bbec4a0cf99f9559271df7edeb29 | [log] [tgz] |
---|---|---|
author | Jordan Demeulenaere <jdemeulenaere@google.com> | Wed Oct 09 14:07:41 2024 +0200 |
committer | Jordan Demeulenaere <jdemeulenaere@google.com> | Wed Oct 09 14:14:48 2024 +0200 |
tree | 065aec4277f8391a89b893bea2655de65cefea20 | |
parent | 19719a1609a9133ab953b8105cfc32e477018771 [diff] |
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