summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AbstractFloatingView.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 /src/com/android/launcher3/AbstractFloatingView.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 'src/com/android/launcher3/AbstractFloatingView.java')
-rw-r--r--src/com/android/launcher3/AbstractFloatingView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AbstractFloatingView.java b/src/com/android/launcher3/AbstractFloatingView.java
index 4f03bf00b..322383778 100644
--- a/src/com/android/launcher3/AbstractFloatingView.java
+++ b/src/com/android/launcher3/AbstractFloatingView.java
@@ -85,7 +85,8 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
// Usually we show the back button when a floating view is open. Instead, hide for these types.
public static final int TYPE_HIDE_BACK_BUTTON = TYPE_ON_BOARD_POPUP | TYPE_DISCOVERY_BOUNCE;
- public static final int TYPE_ACCESSIBLE = TYPE_ALL & ~TYPE_DISCOVERY_BOUNCE;
+ public static final int TYPE_ACCESSIBLE = TYPE_ALL
+ & ~TYPE_DISCOVERY_BOUNCE & ~TYPE_QUICKSTEP_PREVIEW;
protected boolean mIsOpen;