commit | 5918662f320d6e5c58cb6339ecdfc5994b509c66 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Mon Apr 23 15:11:00 2018 -0700 |
committer | Jon Miranda <jonmiranda@google.com> | Mon Apr 23 15:51:49 2018 -0700 |
tree | def2e3340c421934e81d9ce795bdb2b5e87e6877 | |
parent | 6aef85c41787c72c6eb05799dd6a323d292ab759 [diff] |
Fix bug where scroll position jumps when in overscroll. When bouncing between top/bottom overscroll, mDistance calculation allows it to increase without bounds. This solution resets mDistance to 0 for the edge that is not being overscrolled. Bug: 78364220 Change-Id: I8371b3aee37e82d40aaa6adc2473a87f2b69931c