commit | 311506afbba83c11b862c1f95a24dea83fab0aad | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Fri Oct 31 13:55:58 2014 -0700 |
committer | Adam Powell <adamp@google.com> | Fri Oct 31 14:03:01 2014 -0700 |
tree | a0eed8a093e607a6fd6b78eec53b000c8fb6e866 | |
parent | 685a8770c018d02080d29f18fcb9e50a182912aa [diff] |
Don't update OverScroller fling state if no time has passed since start If no time has passed when we try to update fling state, skip the update computation since there is nothing to do. Fixes a bug where we could return NaN from OverScroller#getCurrentVelocity. Bug 17700698 Change-Id: I65042d4d26a29593f66781b58456c2d1e85381c6