Loading libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +6 −1 Original line number Diff line number Diff line Loading @@ -2884,6 +2884,12 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, /** Call this when the recents animation canceled during split-screen. */ public void onRecentsInSplitAnimationCanceled() { mPausingTasks.clear(); setSplitsVisible(false); final WindowContainerTransaction wct = new WindowContainerTransaction(); wct.setReparentLeafTaskIfRelaunch(mRootTaskInfo.token, true /* reparentLeafTaskIfRelaunch */); mTaskOrganizer.applyTransaction(wct); } /** Call this when the recents animation during split-screen finishes. */ Loading @@ -2910,7 +2916,6 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, setSplitsVisible(false); finishWct.setReparentLeafTaskIfRelaunch(mRootTaskInfo.token, true /* reparentLeafTaskIfRelaunch */); logExit(EXIT_REASON_UNKNOWN); } /** Call this when the recents animation finishes by doing pair-to-pair switch. */ Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +6 −1 Original line number Diff line number Diff line Loading @@ -2884,6 +2884,12 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, /** Call this when the recents animation canceled during split-screen. */ public void onRecentsInSplitAnimationCanceled() { mPausingTasks.clear(); setSplitsVisible(false); final WindowContainerTransaction wct = new WindowContainerTransaction(); wct.setReparentLeafTaskIfRelaunch(mRootTaskInfo.token, true /* reparentLeafTaskIfRelaunch */); mTaskOrganizer.applyTransaction(wct); } /** Call this when the recents animation during split-screen finishes. */ Loading @@ -2910,7 +2916,6 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, setSplitsVisible(false); finishWct.setReparentLeafTaskIfRelaunch(mRootTaskInfo.token, true /* reparentLeafTaskIfRelaunch */); logExit(EXIT_REASON_UNKNOWN); } /** Call this when the recents animation finishes by doing pair-to-pair switch. */ Loading