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

Commit 63fa8693 authored by tanxiaoyan's avatar tanxiaoyan Committed by xiaoyan tan
Browse files

Only manually show non-reported parents which is also non-organized



Bug: 346918743

Change-Id: Icd83b545514c3c2568d4ca8aabf264a2f937bde9
Signed-off-by: default avatartanxiaoyan <tanxiaoyan@xiaomi.com>
parent d77f07b2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1745,7 +1745,8 @@ 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);
            for (WindowContainer p = ar.getParent();
                 p != null && !containsChangeFor(p, mTargets) && !p.isOrganized();
                 p = p.getParent()) {
                if (p.getSurfaceControl() != null) {
                    transaction.show(p.getSurfaceControl());