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

Commit 7e11740a authored by Shivangi Dubey's avatar Shivangi Dubey Committed by Android (Google) Code Review
Browse files

Merge "Fix split screen unfold animation" into main

parents 40c99aa5 da5d3921
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -334,8 +334,8 @@ public class SplitTaskUnfoldAnimator implements UnfoldTaskAnimator,


            // Sides adjacent to split bar or task bar are not be animated.
            // Sides adjacent to split bar or task bar are not be animated.
            Insets margins;
            Insets margins;
            final boolean isLandscape = mRootStageBounds.width() > mRootStageBounds.height();
            final boolean isLeftRightSplit = mSplitScreenController.get().get().isLeftRightSplit();
            if (isLandscape) { // Left and right splits.
            if (isLeftRightSplit) {
                margins = getLandscapeMargins(margin, taskbarExpanded);
                margins = getLandscapeMargins(margin, taskbarExpanded);
            } else { // Top and bottom splits.
            } else { // Top and bottom splits.
                margins = getPortraitMargins(margin, taskbarExpanded);
                margins = getPortraitMargins(margin, taskbarExpanded);