diff options
| author | 2024-09-12 18:25:10 +0000 | |
|---|---|---|
| committer | 2024-09-19 15:19:27 +0000 | |
| commit | 39e83a96717b4ce196d139629bd208a023ec24b9 (patch) | |
| tree | e729fc35ba54220f517c11e65a6381ad90c202be /tools/aapt/StringPool.cpp | |
| parent | 79d3acbb0938a1ca42db30e765ff3697d72b3e98 (diff) | |
Move tile icon resource loading off state change
Instead of loading tint color each time state is changed, load the 3
colors once when tile view is created, and reuse them on state change.
This is done to improve the performance of the shade open CUJ.
Also added a helper function to QSLogger.
Bug: 365623416
Flag: com.android.systemui.qs_new_tiles
Test: atest QSIconViewImplTest
Change-Id: Id162075538c9cd9be57b2e52caa3c4530bcd2984
Diffstat (limited to 'tools/aapt/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions