diff options
| author | 2025-02-14 15:19:52 -0500 | |
|---|---|---|
| committer | 2025-02-27 13:25:39 -0500 | |
| commit | 2a6ef81832129e9163a89ece0bb68cd4105f47f0 (patch) | |
| tree | b39b8d9e95de8e9c3bebf0c8d37db6507419828c /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | 02fa5860bcf034fdef3e5e37eacdb3d4dc3d0441 (diff) | |
Convert to icon provider and separate from TileUiState
This change allows to do two things in the state for compose tiles:
* Have a way to represent whether an icon is a constant or is given by a
supplier.
* Separate it from the TileUiState so the whole tile is not recomposed
if the icon supplier changes. This is sometimes the case with
CustomTiles
Test: manual, perfetto observe no recomposition in sharing tile
Test: atest TileUiStateTest TileRequestDialogViewModelTest
Test: atest IconProviderTest
Bug: 389985793
Flag: com.android.systemui.qs_ui_refactor_compose_fragment
Change-Id: Iff8add85a1778c5b159585cb8028bee4065eab74
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions