commit | a3c09b4b9b26ca5eedaac65cafad3efba18502cb | [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 | f9c9d95f4acfd8f98806f14e7d2869705e2e9674 | |
parent | ec09996b595a2092c92ac3bf4572d64ca698bbab [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