[Android] Prevent touch interception for browser-consumed touches
Browser-based widgets that overlay content have a shot at consuming touch events, e.g., selection handles. Such touches are reported as consumed to the View chain, however, embedding apps still have the opportunity to intercept those touch sequences. This can lead to double-handling, e.g., when dragging a selection handle left or right and triggering a View side swipe. Prevent this by calling requestDisallowInterceptTouchEvent() for touches that are consumed by such browser-based widgets. Note that we cannot call this method for all touch events as touch dispatch is often asynchronous and the disposition of the touch handling result cannot be immediately known when the touch is received from the Android platform. BUG=489337 Review URL: https://codereview.chromium.org/1140693004 Cr-Commit-Position: refs/heads/master@{#330426}
Showing
Please register or sign in to comment