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

Commit 6b3733ca authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Correct dissapearing SurfaceView during exit animations."

parents c8f01002 026a6c45
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1532,6 +1532,13 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
            return changed;
        }

        // Next up we will notify the client that it's visibility has changed.
        // We need to prevent it from destroying child surfaces until
        // the animation has finished.
        if (!visible && isVisibleNow()) {
            mWinAnimator.detachChildren();
        }

        if (visible != isVisibleNow()) {
            if (!runningAppAnimation) {
                final AccessibilityController accessibilityController =