commit | 39e83a96717b4ce196d139629bd208a023ec24b9 | [log] [tgz] |
---|---|---|
author | Behnam Heydarshahi <bhnm@google.com> | Thu Sep 12 18:25:10 2024 +0000 |
committer | Behnam Heydarshahi <bhnm@google.com> | Thu Sep 19 15:19:27 2024 +0000 |
tree | e729fc35ba54220f517c11e65a6381ad90c202be | |
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