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

Commit fa753af2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update the divider visibility when moveToStage" into udc-dev

parents ecace325 3c43ea28
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -359,6 +359,9 @@ public class SplitScreenController implements DragAndDropPolicy.Starter,
        if (task == null) {
            throw new IllegalArgumentException("Unknown taskId" + taskId);
        }
        if (isTaskInSplitScreen(taskId)) {
            throw new IllegalArgumentException("taskId is in split" + taskId);
        }
        return mStageCoordinator.moveToStage(task, stagePosition, wct);
    }

+1 −0
Original line number Diff line number Diff line
@@ -395,6 +395,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
            mSyncQueue.queue(wct);
            mSyncQueue.runInSync(t -> {
                updateSurfaceBounds(mSplitLayout, t, false /* applyResizingOffset */);
                setDividerVisibility(true, t);
            });
        } else {
            setSideStagePosition(sideStagePosition, wct);