Fix issue with screen pinning check not apply in 2 button

am: 6e25a9d831

Change-Id: Ie05e87df5af4f09fb77cb999982c0b4ef2ec659f
This commit is contained in:
Winson Chung
2019-06-13 12:11:42 -07:00
committed by android-build-merger

View File

@@ -547,6 +547,10 @@ public class TouchInteractionService extends Service implements
(mSystemUiStateFlags & SYSUI_STATE_A11Y_BUTTON_LONG_CLICKABLE) != 0, base,
mInputMonitorCompat, mSwipeTouchRegion);
}
} else {
if ((mSystemUiStateFlags & SYSUI_STATE_SCREEN_PINNING) != 0) {
base = mResetGestureInputConsumer;
}
}
return base;
}