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

Commit a2afb2e7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Account for animating children when updating task visibility" into tm-dev am: 1a6203e0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17006986

Change-Id: Ibf0dcc600f13778f8a4686a4608e200fa00fd4c2
parents 3b1534f6 1a6203e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3292,7 +3292,7 @@ class Task extends TaskFragment {
        // We intend to let organizer manage task visibility but it doesn't
        // have enough information until we finish shell transitions.
        // In the mean time we do an easy fix here.
        final boolean show = isVisible() || isAnimating(TRANSITION | PARENTS);
        final boolean show = isVisible() || isAnimating(TRANSITION | PARENTS | CHILDREN);
        if (mSurfaceControl != null) {
            if (show != mLastSurfaceShowing) {
                getSyncTransaction().setVisibility(mSurfaceControl, show);