commit | c1884ce2aebcb773378b32f98588cdc643ce68b0 | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Thu Dec 03 14:13:28 2015 +0000 |
committer | Chris Banes <chrisbanes@google.com> | Thu Dec 03 14:13:28 2015 +0000 |
tree | 78381f4605f7b18516767690f76ddd516ff94de9 | |
parent | 1db5382081756ee276c1fb88f5ebdbc138b70249 [diff] |
Ensure SwitchCompat jumps the thumb position ListView calls jumpDrawablesToCurrentState() to make sure that the view is updated before being shown. This has the effect of cancelling any animations. Sometimes those animations will not have been started yet, and thus won't get an end callback. This CLs ensures that the thumb is positioned correctly regardless. BUG: 25657163 Change-Id: I1f93b81ba2cf2d86d64876ad81ab700348ab16c6