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

Commit 24737bd8 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Avoid collect window token which should be rotate independently" into tm-qpr-dev

parents 01276d68 fbb26565
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -479,9 +479,10 @@ class TransitionController {
        // Collect all visible non-app windows which need to be drawn before the animation starts.
        final DisplayContent dc = wc.asDisplayContent();
        if (dc != null) {
            final boolean noAsyncRotation = dc.getAsyncRotationController() == null;
            wc.forAllWindows(w -> {
                if (w.mActivityRecord == null && w.isVisible() && !isCollecting(w.mToken)
                        && dc.shouldSyncRotationChange(w)) {
                        && (noAsyncRotation || !AsyncRotationController.canBeAsync(w.mToken))) {
                    transition.collect(w.mToken);
                }
            }, true /* traverseTopToBottom */);