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

Commit 3c65c76d authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

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

am: 26aff0d9

Change-Id: If080b08b6e0f159423f5328c2b4df1c4008741f0
parents 976f6ade 26aff0d9
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() {