summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2025-03-24 16:47:31 +0000
committer Johannes Gallmann <gallmann@google.com> 2025-03-24 16:47:31 +0000
commite8ff06ba2bf658b3ffeaaaee394dc30418619691 (patch)
treec23371a91841c73d6c51d33e246655183bfebf5b /libs
parentbec61b1bd2bb2f9654dc8eeaf45dc8a0d5fcc08c (diff)
Fix sysui studio build
Bug: 405985610 Test: test_gradle_build.sh Flag: EXEMPT sysui-studio fix Change-Id: Ic2a65bab9494846336e7a33a6e33a398f0a75e62
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();
};
}