Merge "Notify native that scrolling has stopped correctly"
This commit is contained in:
@@ -6546,6 +6546,13 @@ public class WebView extends AbsoluteLayout
|
||||
}
|
||||
|
||||
private void stopTouch() {
|
||||
if (mScroller.isFinished() && !mSelectingText
|
||||
&& (mTouchMode == TOUCH_DRAG_MODE || mTouchMode == TOUCH_DRAG_LAYER_MODE)) {
|
||||
WebViewCore.resumePriority();
|
||||
WebViewCore.resumeUpdatePicture(mWebViewCore);
|
||||
nativeSetIsScrolling(false);
|
||||
}
|
||||
|
||||
// we also use mVelocityTracker == null to tell us that we are
|
||||
// not "moving around", so we can take the slower/prettier
|
||||
// mode in the drawing code
|
||||
|
||||
Reference in New Issue
Block a user