summaryrefslogtreecommitdiffstats
path: root/quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-06-28 15:52:35 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-07-12 14:06:54 -0700
commit32f91ab991dd2a1c6c0054c86b8700f2b966fd36 (patch)
tree3a5ec760d877bfecee4b0faf4d9e85e7ebde064f /quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java
parent0a40a187b589363f53172dc63d4111e3bda68ba7 (diff)
downloadandroid_packages_apps_Trebuchet-32f91ab991dd2a1c6c0054c86b8700f2b966fd36.tar.gz
android_packages_apps_Trebuchet-32f91ab991dd2a1c6c0054c86b8700f2b966fd36.tar.bz2
android_packages_apps_Trebuchet-32f91ab991dd2a1c6c0054c86b8700f2b966fd36.zip
Proxying touch events from RecentsTouchConsumer to Launcher
While swipe-up animation is running, the user can quickly start another touch gesture. In that case we keep the recents transtion active and proxy all touch events to launcher. Bug: 110901700 Change-Id: Ie3b448dfea00473082dc9143423d3596504a3fcc
Diffstat (limited to 'quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java')
-rw-r--r--quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java b/quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java
index cfd41191f..9a920c843 100644
--- a/quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java
+++ b/quickstep/src/com/android/launcher3/uioverrides/TaskViewTouchController.java
@@ -15,6 +15,7 @@
*/
package com.android.launcher3.uioverrides;
+import static com.android.launcher3.AbstractFloatingView.TYPE_ACCESSIBLE;
import static com.android.launcher3.Utilities.SINGLE_FRAME_MS;
import static com.android.launcher3.anim.Interpolators.scrollInterpolatorForVelocity;
@@ -79,7 +80,7 @@ public abstract class TaskViewTouchController<T extends BaseDraggingActivity>
// If we are already animating from a previous state, we can intercept.
return true;
}
- if (AbstractFloatingView.getTopOpenView(mActivity) != null) {
+ if (AbstractFloatingView.getTopOpenViewWithType(mActivity, TYPE_ACCESSIBLE) != null) {
return false;
}
return isRecentsInteractive();