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

Commit ed7cdd6d authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Don't explicitly wait for starting-window during tests with...

Merge "Don't explicitly wait for starting-window during tests with shell-transitions" into sc-v2-dev
parents f9387616 2c0789b8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -8111,9 +8111,8 @@ public class WindowManagerService extends IWindowManager.Stub
            boolean animateStarting = false;
            while (timeoutRemaining > 0) {
                // Waiting until all starting windows has finished animating.
                animateStarting = mRoot.forAllActivities(a -> {
                    return a.hasStartingWindow();
                });
                animateStarting = !mAtmService.getTransitionController().isShellTransitionsEnabled()
                        && mRoot.forAllActivities(ActivityRecord::hasStartingWindow);
                boolean isAnimating = mAnimator.isAnimationScheduled()
                        || mRoot.isAnimating(TRANSITION | CHILDREN, ANIMATION_TYPE_ALL)
                        || animateStarting;