commit | 032fc54d6e7f5abec069b0b6ab4d280c4a39b61b | [log] [tgz] |
---|---|---|
author | Jeff Chang <chengjeff@google.com> | Wed Aug 10 17:38:49 2022 +0800 |
committer | Jeff Chang <chengjeff@google.com> | Wed Aug 10 17:43:11 2022 +0800 |
tree | da9607d0595cf2168280f8c93c8560f706b0a5cd | |
parent | e4b7302acc03cb1b5f74731ea77a8a9304e65265 [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
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 8e1ae39..cfc1936 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 @@ } }); mShouldUpdateRecents = false; + mIsDividerRemoteAnimating = false; if (childrenToTop == null) { mSideStage.removeAllTasks(wct, false /* toTop */);