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

Change-Id: Ife67037157154a185b932c179fe4e4c3012370bf
This commit is contained in:
Ryan Lin
2020-04-28 03:03:53 +00:00
committed by Automerger Merge Worker

View File

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