Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a9fd64a authored by Grace Kloba's avatar Grace Kloba
Browse files

Remove the TODO as it has been fixed with changes

parent 1a3e1056
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -5457,10 +5457,6 @@ public class WebView extends AbsoluteLayout
        mLastVelocity = velocity;

        mScroller.fling(mScrollX, mScrollY, -vx, -vy, 0, maxX, 0, maxY);
        // TODO: duration is calculated based on velocity, if the range is
        // small, the animation will stop before duration is up. We may
        // want to calculate how long the animation is going to run to precisely
        // resume the webcore update.
        final int time = mScroller.getDuration();
        mPrivateHandler.sendEmptyMessageDelayed(RESUME_WEBCORE_PRIORITY, time);
        awakenScrollBars(time);