Moving discovery bounce logic to a separate class.

Removing special transition handling around discovery bound to avoid
inconsistant UI state

Change-Id: Ia40bcb0719076021a6c96f1bd16d44da0286a209
This commit is contained in:
Sunny Goyal
2017-12-05 15:11:21 -08:00
parent 7d6b4fa47c
commit 7ede6118b7
5 changed files with 127 additions and 80 deletions

View File

@@ -59,6 +59,10 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
| TYPE_WIDGETS_BOTTOM_SHEET | TYPE_WIDGET_RESIZE_FRAME | TYPE_WIDGETS_FULL_SHEET
| TYPE_QUICKSTEP_PREVIEW | TYPE_ON_BOARD_POPUP;
// Type of popups which should be kept open during launcher rebind
public static final int TYPE_REBIND_SAFE = TYPE_WIDGETS_FULL_SHEET
| TYPE_QUICKSTEP_PREVIEW | TYPE_ON_BOARD_POPUP;
protected boolean mIsOpen;
public AbstractFloatingView(Context context, AttributeSet attrs) {