commit | 29aaf62410e63d1de4c5d8558e8c661a7a15a273 | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Thu Sep 13 12:55:07 2018 -0700 |
committer | Fan Zhang <zhfan@google.com> | Thu Sep 13 14:04:07 2018 -0700 |
tree | 6970a70a391bcb4f386f27b70a1a691a91596c58 | |
parent | 0f8536b034c4b59921f449bd212ad670c9444d48 [diff] |
Only replace updated cards after loading from db. There are currently 2 ways a list of contextual cards can be updated: 1. through loader onFinishLoading 2. onContextualCardUpdated We need to make the data handling logic consistent between the 2 paths. Also changed some loops to stream for simplicity. Change-Id: I242732e180a14092f5745271e5f63c18a6e482e0 Fixes: 115572494 Test: robotests