summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java
index 8bbe36dd6644..7d6a960686bb 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java
@@ -417,10 +417,8 @@ public class DesktopModeVisualIndicator {
private List<Pair<Rect, IndicatorType>> initSmallTabletRegions(DisplayLayout layout,
boolean isLeftRightSplit) {
return switch (mDragStartState) {
- case DragStartState.FROM_FULLSCREEN -> initSmallTabletRegionsFromFullscreen(layout,
- isLeftRightSplit);
- case DragStartState.FROM_SPLIT -> initSmallTabletRegionsFromSplit(layout,
- isLeftRightSplit);
+ case FROM_FULLSCREEN -> initSmallTabletRegionsFromFullscreen(layout, isLeftRightSplit);
+ case FROM_SPLIT -> initSmallTabletRegionsFromSplit(layout, isLeftRightSplit);
default -> Collections.emptyList();
};
}