diff options
| author | Adam Powell <adamp@google.com> | 2014-10-31 13:55:58 -0700 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2014-10-31 14:03:01 -0700 |
| commit | 311506afbba83c11b862c1f95a24dea83fab0aad (patch) | |
| tree | a0eed8a093e607a6fd6b78eec53b000c8fb6e866 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| 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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
