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

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

Merge "Stop splitscreen from resizing to 50:50 unless it's a true launch adjacent" into main

parents f1bbd3a6 c12c26bb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3215,7 +3215,8 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
                    mSplitTransitions.setEnterTransition(transition, request.getRemoteTransition(),
                            TRANSIT_SPLIT_SCREEN_PAIR_OPEN, !mIsDropEnteringSplitInvisible,
                            SNAP_TO_2_50_50);
                } else if (enableFlexibleTwoAppSplit() && isSplitScreenVisible() && isOpening) {
                } else if (enableFlexibleTwoAppSplit() && isSplitScreenVisible() && isOpening
                        && requestHasLaunchAdjacentFlag(request)) {
                    // launching into an existing split stage; possibly launchAdjacent
                    // If we're replacing a pip-able app, we need to let mixed handler take care of
                    // it. Otherwise we'll just treat it as an enter+resize