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

Commit 533216eb authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Make sure non reported leaf task visible" into main

parents 2dc5d838 30f3c5bd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2012,9 +2012,9 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
            // already been reset by the original hiding-transition's finishTransaction (we can't
            // show in the finishTransaction because by then the activity doesn't hide until
            // surface placement).
            for (WindowContainer p = ar.getParent();
                 p != null && !containsChangeFor(p, mTargets) && !p.isOrganized();
                 p = p.getParent()) {
            for (WindowContainer<?> p = ar.getParent();
                    p != null && p.asDisplayArea() == null; p = p.getParent()) {
                if (p.isOrganized() || !p.canCreateRemoteAnimationTarget()) continue;
                if (p.getSurfaceControl() != null) {
                    transaction.show(p.getSurfaceControl());
                }