Add tappable elements insets types to WM Wrapper
This is to let the apps, such as launcher to be able to provide tappable elements insets. This is necessary as the launcher may add task bar to the system and it should behave as a tappable elements insets source Test: go/wm-smoke Bug: 168766580 Change-Id: Id43fb2a1e82ef6e21a540e0af551b0fee430353f
This commit is contained in:
@@ -83,6 +83,11 @@ public class WindowManagerWrapper {
|
||||
public static final int WINDOWING_MODE_FREEFORM = WindowConfiguration.WINDOWING_MODE_FREEFORM;
|
||||
|
||||
public static final int ITYPE_EXTRA_NAVIGATION_BAR = InsetsState.ITYPE_EXTRA_NAVIGATION_BAR;
|
||||
public static final int ITYPE_LEFT_TAPPABLE_ELEMENT = InsetsState.ITYPE_LEFT_TAPPABLE_ELEMENT;
|
||||
public static final int ITYPE_TOP_TAPPABLE_ELEMENT = InsetsState.ITYPE_TOP_TAPPABLE_ELEMENT;
|
||||
public static final int ITYPE_RIGHT_TAPPABLE_ELEMENT = InsetsState.ITYPE_RIGHT_TAPPABLE_ELEMENT;
|
||||
public static final int ITYPE_BOTTOM_TAPPABLE_ELEMENT =
|
||||
InsetsState.ITYPE_BOTTOM_TAPPABLE_ELEMENT;
|
||||
|
||||
private static final WindowManagerWrapper sInstance = new WindowManagerWrapper();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user