diff options
author | 2025-01-22 13:00:57 -0500 | |
---|---|---|
committer | 2025-01-22 13:00:57 -0500 | |
commit | ac54a44cee68d3f0573ab3f46bb8d81d3b3d3ea0 (patch) | |
tree | 2ab9fac0201b547ebea6c74dc4ae22288a0a4c40 /tools/codegen/src | |
parent | 8a131dbc79224b2438218d14539cb59c6e4a4b6b (diff) |
Prevent recomposition of VerticalSpannedGrid
We cached the span lists (instead of creating a new one in each
recomposition), because they are unstable. That way, if the contents
don't change, the VerticalSpannedGrid is not recomposed.
Also, move key into the spanned grid.
Test: manual, changes in surrounding code of SpannedGrid don't recompose
it if the spans don't change
Bug: 389985793
Flag: com.android.systemui.qs_ui_refactor_compose_fragment
Change-Id: Ib3e7c9239f7a35b8396b8e7dca07ba3727a06de3
Diffstat (limited to 'tools/codegen/src')
0 files changed, 0 insertions, 0 deletions