Hide taskbar when certain floating views are open

Test: Open widgets, ensure taskbar hides
Bug: 171917176
Change-Id: Ib78182fe0ca1ea5ffbd28ab42f49ab8f0e535a18
This commit is contained in:
Tony Wickham
2021-03-16 11:11:46 -07:00
parent a79c7e4227
commit e5695f9196
3 changed files with 21 additions and 3 deletions

View File

@@ -101,6 +101,10 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
// When these types of floating views are open, hide the taskbar hotseat and show the real one.
public static final int TYPE_REPLACE_TASKBAR_WITH_HOTSEAT = TYPE_FOLDER | TYPE_ACTION_POPUP;
// Hide the taskbar when these types of floating views are open.
public static final int TYPE_HIDE_TASKBAR = TYPE_WIDGETS_BOTTOM_SHEET | TYPE_WIDGETS_FULL_SHEET
| TYPE_ON_BOARD_POPUP;
public static final int TYPE_ACCESSIBLE = TYPE_ALL & ~TYPE_DISCOVERY_BOUNCE & ~TYPE_LISTENER
& ~TYPE_ALL_APPS_EDU;