commit | c5b1bc80bc04d8e1c51d7f7ae83f2481fa9fef85 | [log] [tgz] |
---|---|---|
author | Amin Shaikh <ashaikh@google.com> | Wed Mar 21 08:13:47 2018 -0400 |
committer | Amin Shaikh <ashaikh@google.com> | Fri Mar 23 15:23:08 2018 -0400 |
tree | 8bdb20be4037628014f9da6d441eb930ea0ed5c0 | |
parent | 5bdf06353798f13ceb40c21b023e3fcfb17ad0ad [diff] |
Ensure TileQueryHelper#mTiles is thread safe. - Ensure TileQueryHelper#mTiles is only modified on the background thread and a send a copy to listeners. - Do not call onTilesChanged until all stock tiles are loaded (as opposed to after each tile) to reduce tile spec recalculation. - Remove completion callback and instead maintain query state in TileQueryHelper Bug: 75415415 Test: manually Change-Id: I2a20bd916dae0ee9f4c422ec4e2ac3f2d47da3dc