Description[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
Committed: https://crrev.com/39083255b50c17e8a75705d4bd6f0a209f9ccdbd
Cr-Commit-Position: refs/heads/master@{#330426}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|