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

Commit 0a5d37f2 authored by lijilou's avatar lijilou Committed by Chris Li
Browse files

Remove unnecessary non-empty judgment in WindowManagerGlobal file.

Bug: none
Flag: EXEMPT minor optimization
Change-Id: I1731acc34acee364d5e2eaea293da98fe27b7632
parent 52f6df19
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -586,9 +586,7 @@ public final class WindowManagerGlobal {
        ViewRootImpl root = mRoots.get(index);
        View view = root.getView();

        if (root != null) {
        root.getImeFocusController().onWindowDismissed();
        }
        boolean deferred = root.die(immediate);
        if (view != null) {
            view.assignParent(null);