commit | 5397ddb43ee9102f5a1f2c54276a7a58505ee4e8 | [log] [tgz] |
---|---|---|
author | Behnam Heydarshahi <bhnm@google.com> | Fri Jul 19 21:35:40 2024 +0000 |
committer | Behnam Heydarshahi <bhnm@google.com> | Thu Jul 25 20:42:02 2024 +0000 |
tree | 3352be6d5614d2573923ccd3d43c95f4aa7d77be | |
parent | 93d3f9a93d3aaa27fda4bde86851ca01fa9e1466 [diff] |
Do not synchronize tile state callbacks Instead, use a CopyOnWriteArray to hold callbacks. This saves a few milliseconds, which saves a frame being dropped when expanding the shade. Flag: com.android.systemui.qs_new_tiles Bug: 343622531 Test: atest QSTileViewModelAdapterTest Change-Id: I5b3e635717549bb1078450457688736a5d33aba2