Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 401c1201 authored by Jeremy Sim's avatar Jeremy Sim Committed by Android (Google) Code Review
Browse files

Merge "Fix bug with Overview tile cropping in flexible split" into main

parents bfedad58 ce16973c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2080,8 +2080,8 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
                            Math.max(topLeftBounds.top, 0);
                    bottomRightBounds.right =
                            Math.min(bottomRightBounds.right, mSplitLayout.getDisplayWidth());
                    bottomRightBounds.top =
                            Math.min(bottomRightBounds.top, mSplitLayout.getDisplayHeight());
                    bottomRightBounds.bottom =
                            Math.min(bottomRightBounds.bottom, mSplitLayout.getDisplayHeight());

                    // TODO (b/349828130): Can change to getState() fully after brief soak time.
                    if (mSplitState.get() != currentSnapPosition) {