summaryrefslogtreecommitdiffstats
path: root/quickstep/recents_ui_overrides/src/com/android/quickstep
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2019-06-11 14:35:53 -0700
committerTony Wickham <twickham@google.com>2019-06-11 14:41:57 -0700
commit0bdd28e2044b8123f5f5139f9914c56298fe6d62 (patch)
tree1ae79aa366f10c3bb8f09a7445dbb2a0100fd4f7 /quickstep/recents_ui_overrides/src/com/android/quickstep
parent87cfe640c251d540750bdc3d4eee79c082ff5f0d (diff)
downloadandroid_packages_apps_Trebuchet-0bdd28e2044b8123f5f5139f9914c56298fe6d62.tar.gz
android_packages_apps_Trebuchet-0bdd28e2044b8123f5f5139f9914c56298fe6d62.tar.bz2
android_packages_apps_Trebuchet-0bdd28e2044b8123f5f5139f9914c56298fe6d62.zip
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
Diffstat (limited to 'quickstep/recents_ui_overrides/src/com/android/quickstep')
-rw-r--r--quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java2
1 files changed, 1 insertions, 1 deletions
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 4a40c64f9..d84adabe1 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 @@ public class TouchInteractionService extends Service implements
return InputConsumer.NO_OP;
}
- if (activity.getRootView().hasWindowFocus()) {
+ if (activity.getRootView().hasWindowFocus() || mSwipeSharedState.goingToLauncher) {
return new OverviewInputConsumer(activity, mInputMonitorCompat,
false /* startingInActivityBounds */);
} else {