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
This commit is contained in:
Sunny Goyal
2018-06-28 15:52:35 -07:00
parent 0a40a187b5
commit 32f91ab991
8 changed files with 177 additions and 58 deletions

View File

@@ -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;