Loading libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java +1 −0 Original line number Diff line number Diff line Loading @@ -470,6 +470,7 @@ public class SplitScreenController implements SplitDragPolicy.Starter, public void prepareExitSplitScreen(WindowContainerTransaction wct, @StageType int stageToTop, @ExitReason int reason) { mStageCoordinator.prepareExitSplitScreen(stageToTop, wct, reason); mStageCoordinator.setDividerVisibility(false, null); mStageCoordinator.clearSplitPairedInRecents(reason); } Loading libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +5 −3 Original line number Diff line number Diff line Loading @@ -2414,9 +2414,11 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, setDividerVisibility(mainStageVisible, null); } // Set divider visibility flag and try to apply it, the param transaction is used to apply. // See applyDividerVisibility for more detail. private void setDividerVisibility(boolean visible, @Nullable SurfaceControl.Transaction t) { /** * Set divider visibility flag and try to apply it, the param transaction is used to apply. * See applyDividerVisibility for more detail. */ public void setDividerVisibility(boolean visible, @Nullable SurfaceControl.Transaction t) { if (visible == mDividerVisible) { return; } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java +1 −0 Original line number Diff line number Diff line Loading @@ -470,6 +470,7 @@ public class SplitScreenController implements SplitDragPolicy.Starter, public void prepareExitSplitScreen(WindowContainerTransaction wct, @StageType int stageToTop, @ExitReason int reason) { mStageCoordinator.prepareExitSplitScreen(stageToTop, wct, reason); mStageCoordinator.setDividerVisibility(false, null); mStageCoordinator.clearSplitPairedInRecents(reason); } Loading
libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +5 −3 Original line number Diff line number Diff line Loading @@ -2414,9 +2414,11 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, setDividerVisibility(mainStageVisible, null); } // Set divider visibility flag and try to apply it, the param transaction is used to apply. // See applyDividerVisibility for more detail. private void setDividerVisibility(boolean visible, @Nullable SurfaceControl.Transaction t) { /** * Set divider visibility flag and try to apply it, the param transaction is used to apply. * See applyDividerVisibility for more detail. */ public void setDividerVisibility(boolean visible, @Nullable SurfaceControl.Transaction t) { if (visible == mDividerVisible) { return; } Loading