File tree Expand file tree Collapse file tree
services/core/java/com/android/server/wm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2053,19 +2053,16 @@ boolean isInteresting() {
20532053
20542054 /**
20552055 * Like isOnScreen(), but we don't return true if the window is part
2056- * of a transition but has not yet started animating .
2056+ * of a transition that has not yet been started .
20572057 */
20582058 boolean isReadyForDisplay () {
2059- if (!mHasSurface || mDestroying || !isVisibleByPolicy ()) {
2060- return false ;
2061- }
2062- if (mToken .waitingToShow && getDisplayContent ().mAppTransition .isTransitionSet ()
2063- && !isAnimating (TRANSITION | PARENTS , ANIMATION_TYPE_APP_TRANSITION )) {
2059+ if (mToken .waitingToShow && getDisplayContent ().mAppTransition .isTransitionSet ()) {
20642060 return false ;
20652061 }
20662062 final boolean parentAndClientVisible = !isParentWindowHidden ()
20672063 && mViewVisibility == View .VISIBLE && mToken .isVisible ();
2068- return parentAndClientVisible || isAnimating (TRANSITION | PARENTS , ANIMATION_TYPE_ALL );
2064+ return mHasSurface && isVisibleByPolicy () && !mDestroying
2065+ && (parentAndClientVisible || isAnimating (TRANSITION | PARENTS ));
20692066 }
20702067
20712068 boolean isFullyTransparent () {
You can’t perform that action at this time.
0 commit comments