Skip to content

Commit

Permalink
FlutterView will hadle dispatching all touch events to sub-views
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaushik Iska committed Jul 2, 2020
1 parent a8a6d1e commit 21c5958
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 21c5958

Please sign in to comment.