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

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

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 "