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
This commit is contained in:
@@ -894,6 +894,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
|
||||
}
|
||||
});
|
||||
mShouldUpdateRecents = false;
|
||||
mIsDividerRemoteAnimating = false;
|
||||
|
||||
if (childrenToTop == null) {
|
||||
mSideStage.removeAllTasks(wct, false /* toTop */);
|
||||
|
||||
Reference in New Issue
Block a user