Defer transition ready when resizing starting window.
Reset the StartingData.mIsDisplayed if the starting window is going to resizing, so the transition won't happens with no opening windows drawn. Bug: 265016201 Test: atest QuickSwitchFromLauncherTest Change-Id: I1b77c8238ec5a2b9a04c2cf779b49790f5203ce5
This commit is contained in:
@@ -1531,6 +1531,10 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
||||
winAnimator.mDrawState = DRAW_PENDING;
|
||||
if (mActivityRecord != null) {
|
||||
mActivityRecord.clearAllDrawn();
|
||||
if (mAttrs.type == TYPE_APPLICATION_STARTING
|
||||
&& mActivityRecord.mStartingData != null) {
|
||||
mActivityRecord.mStartingData.mIsDisplayed = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!mWmService.mResizingWindows.contains(this)) {
|
||||
|
||||
Reference in New Issue
Block a user