commit | 82d71afd305ba0a33573eddbaa3e1e7d6e2ef828 | [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 19:09:39 2017 +0000 |
tree | 34cfdcee6f1c656df4b5499852f6f6026370c8f9 | |
parent | 0b3f300a49fd0646b543d486de2b18b4aea81b5d [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 (cherry picked from commit b8874fd0df55113d472c6704b91bd493c577caeb)