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

Commit 93e22893 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix layout been truncated after activated split screen" into sc-v2-dev

parents 78359a1d bb7abee9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -515,6 +515,9 @@ class StageCoordinator implements SplitLayout.SplitLayoutHandler,
        mSideStage.removeAllTasks(wct, childrenToTop == mSideStage);
        mMainStage.deactivate(wct, childrenToTop == mMainStage);
        mTaskOrganizer.applyTransaction(wct);
        mSyncQueue.runInSync(t -> t
                .setWindowCrop(mMainStage.mRootLeash, null)
                .setWindowCrop(mSideStage.mRootLeash, null));
        // Hide divider and reset its position.
        setDividerVisibility(false);
        mSplitLayout.resetDividerPosition();