Disallow two finger gesture nav behaviors when the cursor is in the zones
- This change addresses swipe up and quick switch from the nav bar area using two fingers - Separate changes will be implemented in SysUI to disable two finger swipe down from the status bar area and two finger swipe edge swipe for back Bug: 283112069 Test: manual Change-Id: I67c7ba31e759d5693d89112fd8f37f3d2a9eaa41
This commit is contained in:
1 parent
60136287ec
commit
d7c00cb8b4
5 files changed
+11
-12
No files matched your search
@@ -248,8 +248,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC
|
||||
if (!mPassedPilferInputSlop) {
|
||||
// Cancel interaction in case of multi-touch interaction
|
||||
int ptrIdx = ev.getActionIndex();
|
||||
if (!mRotationTouchHelper.isInSwipeUpTouchRegion(ev, ptrIdx,
|
||||
mActivityInterface)) {
|
||||
if (!mRotationTouchHelper.isInSwipeUpTouchRegion(ev, ptrIdx)) {
|
||||
forceCancelGesture(ev);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user