FlutterView will hadle dispatching all touch events to sub-views (flutter/engine#19482)

This commit is contained in:
Kaushik Iska
2020-07-02 12:31:10 -07:00
committed by GitHub
parent 2d0346d45a
commit 8b90d16e3c

View File

@@ -781,6 +781,11 @@ public class FlutterView extends FrameLayout implements MouseCursorPlugin.MouseC
}
}
@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) {