Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 39e83a96 authored by Behnam Heydarshahi's avatar Behnam Heydarshahi
Browse files

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
parent 79d3acbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment