Description[Android] Avoid early fling termination if initial time is non-positive
Main thread animations provide no guarantees that the initial fling timestamp
will be strictly positive. Consequently, a (valid) timestamp of 0 applied to
Android's fling animation curve will yield a zero-sized scroll delta. Feeding
this scroll delta through WebViewImpl reports that scrolling is impossible, in
which case the fling will early terminate. Avoid this case by early returning
on non-positive fling timestamps, aligning with Aura's fling behavior.
BUG=371854
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269594
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|