summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-03-31 10:45:52 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-03-31 10:45:52 +0000
commite0101a49f18fe7d8434d8b36f4046475579866f5 (patch)
treecd10c3116f1eba89e0cd6e60d6d5c1a7251f0aff
parentbd2c9c2e41c4caedb0f95f7fabef18ea7f6ec916 (diff)
parent7d7e6f3b91697eb8d2b42c1b8407b1def967adef (diff)
Defer transition ready when resizing starting window. am: 7d7e6f3b91
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22371667 Change-Id: Ia184238b6eb8c94966b599f100bdd5e108b65633 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--services/core/java/com/android/server/wm/WindowState.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/wm/WindowState.java b/services/core/java/com/android/server/wm/WindowState.java
index 2d849b3a6b95..4f3ac48d2ca3 100644
--- a/services/core/java/com/android/server/wm/WindowState.java
+++ b/services/core/java/com/android/server/wm/WindowState.java
@@ -1543,6 +1543,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)) {