commit | 0bdd28e2044b8123f5f5139f9914c56298fe6d62 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Tue Jun 11 14:35:53 2019 -0700 |
committer | Tony Wickham <twickham@google.com> | Tue Jun 11 14:41:57 2019 -0700 |
tree | 1ae79aa366f10c3bb8f09a7445dbb2a0100fd4f7 | |
parent | 87cfe640c251d540750bdc3d4eee79c082ff5f0d [diff] |
Fix double swipe on nav bar from an app Use normal OverviewInputConsumer instead of OverviewWithoutFocusInputConsumer if we are animating to launcher. This allows launcher to properly handle a second swipe in the nav region. Test: enable 2-button mode, double swipe up on nav bar to all apps Bug: 135050372 Change-Id: I0b96f6236bed4f9ac3284a921e4259e1b0d00c75
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java index 4a40c64..d84adab 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java
@@ -614,7 +614,7 @@ return InputConsumer.NO_OP; } - if (activity.getRootView().hasWindowFocus()) { + if (activity.getRootView().hasWindowFocus() || mSwipeSharedState.goingToLauncher) { return new OverviewInputConsumer(activity, mInputMonitorCompat, false /* startingInActivityBounds */); } else {