Skip to content

Commit 9c5bf3b

Browse files
author
Craig Mautner
committed
Don't display based on a dummy animation.
The Starting window was being made visible early because the app token had the dummy animation set. When the real animation started the Starting window picked it up and became transparent causing the underlying window to become visible again => jank. Fixes bug 6691421. Change-Id: I95fe88d2887760e6da3adedeb6be300eb6755283
1 parent f412095 commit 9c5bf3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/java/com/android/server/wm/WindowState.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,8 @@ boolean isReadyForDisplayIgnoringKeyguard() {
737737
&& ((!mAttachedHidden && mViewVisibility == View.VISIBLE
738738
&& !mRootToken.hidden)
739739
|| mWinAnimator.mAnimation != null
740-
|| ((atoken != null) && (atoken.mAppAnimator.animation != null)));
740+
|| ((atoken != null) && (atoken.mAppAnimator.animation != null)
741+
&& !mWinAnimator.isDummyAnimation()));
741742
}
742743

743744
/**

0 commit comments

Comments
 (0)