Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7043dce3 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Merge cherrypicks of [8002638] into qt-release

Change-Id: I455d0ec59fc4804c82076f77b46bf6f8fb5243b2
parents 88ad6a42 234fdb2e
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -540,14 +540,6 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
                // If the app was already visible, don't reset the waitingToShow state.
                if (isHidden()) {
                    waitingToShow = true;

                    // Let's reset the draw state in order to prevent the starting window to be
                    // immediately dismissed when the app still has the surface.
                    forAllWindows(w -> {
                            if (w.mAttrs.type != TYPE_APPLICATION_STARTING) {
                                w.mWinAnimator.resetDrawState();
                            }
                        },  true /* traverseTopToBottom */);
                }
            }