do not close widgets that are safe for rebind upon orientation change

bug: 135608744
Change-Id: I58e9e44eb61f3b22df6ec656ac864f6da3fb479f
This commit is contained in:
Pinyao Ting
2019-07-17 23:26:06 -07:00
parent 2254bcae3f
commit a74b63aa07
2 changed files with 7 additions and 5 deletions

View File

@@ -86,7 +86,7 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
// Type of popups which should be kept open during launcher rebind
public static final int TYPE_REBIND_SAFE = TYPE_WIDGETS_FULL_SHEET
| TYPE_ON_BOARD_POPUP | TYPE_DISCOVERY_BOUNCE;
| TYPE_WIDGETS_BOTTOM_SHEET | TYPE_ON_BOARD_POPUP | TYPE_DISCOVERY_BOUNCE;
// 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