commit | b8874fd0df55113d472c6704b91bd493c577caeb | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Thu Apr 06 17:22:40 2017 -0700 |
committer | Garfield Tan <xutan@google.com> | Fri Apr 07 10:39:31 2017 -0700 |
tree | 0f89ab247f2cc778e7b7511eea11b9495f8747de | |
parent | fa74c77151a6f0775ef00c0238ba8cd99443586a [diff] |
Fix 2 bugs that fail to update item listener right. * Reset SelectionMetadata on model update. * Stop updating item listener if an item is selected when we try to add it to provisional selection. * Add tests to ensure consistency between SelectionManager and ItemCallbacks Test: Manual tests & auto tests. Bug: 37083128 Change-Id: I15149c71fa56f38ae5867a13d9026146a969c525