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

Skip to content
Commit 8931a1d2 authored by Behnam Heydarshahi's avatar Behnam Heydarshahi
Browse files

Cache tile state at adapter level

When receiving a new state update, only update UI if state has changed.
Drop icon supplier and use icon which can be used for comparison.

Bug: 356254554
Flag: com.android.systemui.qs_new_tiles
Test: manual. Open and close the shade. Verify new tiles on the first page no longer call handleStateChange 6-10 times. 2 times is ideal.
Test: manual. Run quicksettings-3-jank-suite and verify perfetto_cuj_systemui-NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE-counter_metrics-missed_app_frames-mean does not increase.
Change-Id: I43ac4dd4cd88789db5f1c4b9ef774fdbd8a72446
parent 37cef638
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