Loading libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SideStage.java +5 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,11 @@ class SideStage extends StageTaskListener { stageTaskUnfoldController); } void moveToTop(Rect rootBounds, WindowContainerTransaction wct) { final WindowContainerToken rootToken = mRootTaskInfo.token; wct.setBounds(rootToken, rootBounds).reorder(rootToken, true /* onTop */); } void addTask(ActivityManager.RunningTaskInfo task, Rect rootBounds, WindowContainerTransaction wct) { final WindowContainerToken rootToken = mRootTaskInfo.token; Loading libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +1 −1 Original line number Diff line number Diff line Loading @@ -758,7 +758,7 @@ class StageCoordinator implements SplitLayout.SplitLayoutHandler, final WindowContainerTransaction wct = new WindowContainerTransaction(); // Make sure the main stage is active. mMainStage.activate(getMainStageBounds(), wct, true /* reparent */); mSideStage.setBounds(getSideStageBounds(), wct); mSideStage.moveToTop(getSideStageBounds(), wct); mTaskOrganizer.applyTransaction(wct); } if (!mLogger.hasStartedSession() && mMainStageListener.mHasChildren Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SideStage.java +5 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,11 @@ class SideStage extends StageTaskListener { stageTaskUnfoldController); } void moveToTop(Rect rootBounds, WindowContainerTransaction wct) { final WindowContainerToken rootToken = mRootTaskInfo.token; wct.setBounds(rootToken, rootBounds).reorder(rootToken, true /* onTop */); } void addTask(ActivityManager.RunningTaskInfo task, Rect rootBounds, WindowContainerTransaction wct) { final WindowContainerToken rootToken = mRootTaskInfo.token; Loading
libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +1 −1 Original line number Diff line number Diff line Loading @@ -758,7 +758,7 @@ class StageCoordinator implements SplitLayout.SplitLayoutHandler, final WindowContainerTransaction wct = new WindowContainerTransaction(); // Make sure the main stage is active. mMainStage.activate(getMainStageBounds(), wct, true /* reparent */); mSideStage.setBounds(getSideStageBounds(), wct); mSideStage.moveToTop(getSideStageBounds(), wct); mTaskOrganizer.applyTransaction(wct); } if (!mLogger.hasStartedSession() && mMainStageListener.mHasChildren Loading