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

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

Merge "Detach children in transaction." into pi-dev

parents cf4f6505 fd8e93ba
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -923,10 +923,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() {