Merge "Fix didn't bypass touch events with non-empty passthrough Region" into rvc-dev

This commit is contained in:
Ryan Lin
2020-04-28 02:43:59 +00:00
committed by Android (Google) Code Review

View File

@@ -794,10 +794,6 @@ public class TouchExplorer extends BaseEventStreamTransformation
*/
private void handleMotionEventStateDelegating(
MotionEvent event, MotionEvent rawEvent, int policyFlags) {
if (mGestureDetector.isMultiFingerGesturesEnabled()) {
// Multi-finger gestures conflict with this functionality.
return;
}
switch (event.getActionMasked()) {
case MotionEvent.ACTION_DOWN: {
Slog.e(LOG_TAG, "Delegating state can only be reached if "