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

Commit f1f039bc authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Skip checkAppWindowsReadyToShow for shell transition

It is used to handle allDrawn/mFreezingScreen/mOpeningApps.
(See ActivityRecord#checkAppWindowsReadyToShow)
All of them are not used by shell transition.

It may reduce requesting additional surface placement that
is triggered from FINISH_LAYOUT_REDO_ANIM.

Bug: 297493149
Test: CtsWindowManagerDeviceActivity
Change-Id: If4968ad8e9d896d79b6da30ead7122b2bb1e0855
parent c4ed5a0e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -146,7 +146,9 @@ public class WindowAnimator {
            for (int i = 0; i < numDisplays; i++) {
                final DisplayContent dc = root.getChildAt(i);

                if (!useShellTransition) {
                    dc.checkAppWindowsReadyToShow();
                }
                if (accessibilityController.hasCallbacks()) {
                    accessibilityController.drawMagnifiedRegionBorderIfNeeded(dc.mDisplayId,
                            mTransaction);