summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Behnam Heydarshahi <bhnm@google.com> 2024-07-31 21:11:17 +0000
committer Behnam Heydarshahi <bhnm@google.com> 2024-08-02 17:20:19 +0000
commit8931a1d22b6287430982294687a32cac4b6ff865 (patch)
treef6526c13bc4bbef9ea4b63f19e18afdf79206242 /libs/androidfw/FileStream.cpp
parent37cef6386a69873f41e15d8f3bd8d037a7277db1 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions