commit | 4c2f1a6afa2d94a97c9cb74e3ec3dc7f327fcee1 | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Wed Mar 16 12:13:21 2016 -0700 |
committer | Ben Kwa <kenobi@google.com> | Wed Mar 16 12:13:21 2016 -0700 |
tree | 3ef5c318c4088f89884ee74ae7ac282a9a4551f7 | |
parent | 2392d997bf6dbd313f3a778fb9adcd4c2c00adf6 [diff] |
DocsUI: Don't animate selection changes on all bind events. When directory contents update, this causes all items to be bound, which can cause flickering even though item selection state hasn't changed. Add a boolean var to trigger UI animations only when selection changes are triggered by the selection manager. BUG=27680153 Change-Id: I892d8111cf3ba7e1610d94af4a1a646f1cdb5546