summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vinit Nayak <peanutbutter@google.com> 2024-11-25 06:57:03 -0800
committer Vinit Nayak <peanutbutter@google.com> 2024-11-25 06:59:18 -0800
commit5e4c386c1c81f827d0888d43e0d6ad1c331944fd (patch)
tree14ac1bc43f4c1e85d0d95f65fa9c22c2f8e55568
parent4f8963534076e6e97951d573fbe5fb3244f3cae7 (diff)
Update deactivateSplit comment
Flag: EXEMPT comment Bug: 333270112 Change-Id: I4f92ab3bd1efe664c988fc7de6fd2db694b1e7fe
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java
index 94abb4cb25a2..774fc5df46da 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java
@@ -488,6 +488,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
/**
* Deactivates main stage by removing the stage from the top level split root (usually when a
* task underneath gets removed from the stage root).
+ * This function should always be called as part of exiting split screen.
* @param stageToTop stage which we want to put on top
*/
private void deactivateSplit(WindowContainerTransaction wct, @StageType int stageToTop) {