Skip to content

Commit

Permalink
FlutterView will hadle dispatching all touch events to sub-views (#19482
Browse files Browse the repository at this point in the history
)
  • Loading branch information
iskakaushik authored Jul 2, 2020
1 parent a2b75ce commit f74c0f0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,11 @@ public AccessibilityNodeProvider getAccessibilityNodeProvider() {
}
}

@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
return true;
}

// TODO(mattcarroll): Confer with Ian as to why we need this method. Delete if possible, otherwise
// add comments.
private void resetWillNotDraw(boolean isAccessibilityEnabled, boolean isTouchExplorationEnabled) {
Expand Down

0 comments on commit f74c0f0

Please sign in to comment.