commit | 2efb7b624721c54b825aa298dc4c1447550e3af7 | [log] [tgz] |
---|---|---|
author | Andy Wickham <awickham@google.com> | Wed Mar 09 01:16:11 2022 -0800 |
committer | Andy Wickham <awickham@google.com> | Wed Mar 09 17:17:24 2022 -0800 |
tree | 174b89fdb36c699c72e4b450d15fc14e3b9692c4 | |
parent | 5b79bbbcbc56ec474ebf5bb60f5502de870999b6 [diff] |
Fixes a list equality check and adds a refreshResults() method. Previously, the lists being compared could point to the same object (e.g. from a separate class like ZeroStateResultProvider), thus always being equal. This prevented the RecyclerView from updating in certain cases. Also added an option new method to SearchUiManager which can be used to trigger a refresh. Bug: 207651359 Test: Manual Change-Id: I9c7f02fcd9dfb91326eccf1d4eb8692904702ab0