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

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

Merge "Ensure non app WindowTokens are removed when closing."

parents f5cf390e aec55ff5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -125,6 +125,11 @@ class WindowToken extends WindowContainer<WindowState> {
    }

    void setExiting() {
        if (mChildren.size() == 0) {
            super.removeImmediately();
            return;
        }

        // This token is exiting, so allow it to be removed when it no longer contains any windows.
        mPersistOnEmpty = false;