summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Chang <chengjeff@google.com> 2022-08-10 17:38:49 +0800
committer Jeff Chang <chengjeff@google.com> 2022-08-10 17:43:11 +0800
commit032fc54d6e7f5abec069b0b6ab4d280c4a39b61b (patch)
treeda9607d0595cf2168280f8c93c8560f706b0a5cd
parente4b7302acc03cb1b5f74731ea77a8a9304e65265 (diff)
Clean divider-remote-animating flag when exit split
The flag is used to control divider bar animation. We should also clean the flag while exit split-screen to prevent split can not update the divider bar visibility. Currently, the flag is clean from remote animation finished or canceled. It’might be have the possibility of not cleaning the flag if launch aborted. Bug: 241861895 Test: manual Test: pass existing tests Change-Id: I07d1888957496dab8d5886eb7d9b21cc133b4214
-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 8e1ae397ea64..cfc193655f09 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
@@ -894,6 +894,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
}
});
mShouldUpdateRecents = false;
+ mIsDividerRemoteAnimating = false;
if (childrenToTop == null) {
mSideStage.removeAllTasks(wct, false /* toTop */);