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

Commit fd8e93ba authored by Robert Carr's avatar Robert Carr
Browse files

Detach children in transaction.

Trivial error.

Bug: 79441653
Test: Manual
Change-Id: I8fcc60aa2b8bb44593a2e5ada2f7c0c8a08cc16a
parent a914cf0a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -919,10 +919,12 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
    }

    void detachChildren() {
        SurfaceControl.openTransaction();
        for (int i = mChildren.size() - 1; i >= 0; i--) {
            final WindowState w = mChildren.get(i);
            w.mWinAnimator.detachChildren();
        }
        SurfaceControl.closeTransaction();
    }

    void finishRelaunching() {