summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2025-03-24 12:20:37 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-24 12:20:37 -0700
commit4a8eebded59766b1745a0115173a6680b42ad009 (patch)
treeb6fac437c039dcf6b50eb1d11a7cea00fbb7d80a /libs
parent19449f00867a45db212a5b9c4d7ed3db39fbce75 (diff)
parente8ff06ba2bf658b3ffeaaaee394dc30418619691 (diff)
Merge "Fix sysui studio build" into main
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();
};
}