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

Commit bcd4a23b authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Revert "Call preserveSurfaces when detaching children."" into...

Merge "Merge "Revert "Call preserveSurfaces when detaching children."" into rvc-dev am: 3affbe4d am: c3e5f831 am: 564f07ab" into rvc-qpr-dev-plus-aosp am: e38482aa

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

Change-Id: I5de4027654565dd3569d39fbc8b35165e1ac0ba3
parents df465711 e38482aa
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1592,12 +1592,6 @@ class WindowStateAnimator {
        if (mSurfaceController != null) {
            mSurfaceController.detachChildren();
        }
        // If the children are detached, it means the app is exiting. We don't want to tear the
        // content down too early, otherwise we could end up with a flicker. By preserving the
        // current surface, we ensure the content remains on screen until the window is completely
        // removed. It also ensures that the old surface is cleaned up when started again since it
        // forces mSurfaceController to be set to null.
        preserveSurfaceLocked();
    }

    void setOffsetPositionForStackResize(boolean offsetPositionForStackResize) {