commit | aeb94f0e5cd22a0e7b4ef1e3fe486375ea5b8c0c | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Wed Jul 05 13:46:04 2017 -0700 |
committer | Fan Zhang <zhfan@google.com> | Thu Jul 06 10:13:58 2017 -0700 |
tree | b063b3568d3cd5b20dcd3cd9dde8b7584bddeda7 | |
parent | ff45106b49e3fb0de93b00bcee067e92b8cf1d99 [diff] |
Fix race condition and optimize categoryUpdater refresh - In SettingsActivity, do not call updateCategories() if nothing changed. - In SummaryLoader, create a mapping between tile key and summary. This is necessary to handle a race condition where category is refreshed after summary load. - In DashboardSummary, refresh Tile's summary to latest cache value everytime category is refreshed. Change-Id: I61389b8ba614ba7e34939325bada6e1bd6fa6709 Fix: 63149109 Test: robotests