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

Commit b3d0b835 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Merge "Do not detach children of starting windows" into qt-r1-dev

am: 92498090

Change-Id: I5304bc02e6ed4032023e9a9385d226f26b391212
parents ff12055d 92498090
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1493,6 +1493,12 @@ class WindowStateAnimator {
    }

    void detachChildren() {

        // Do not detach children of starting windows, as their lifecycle is well under control and
        // it may lead to issues in case we relaunch when we just added the starting window.
        if (mWin.mAttrs.type == TYPE_APPLICATION_STARTING) {
            return;
        }
        if (mSurfaceController != null) {
            mSurfaceController.detachChildren();
        }