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

Commit 83009f2f authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Schedule traversal instead performing it directly.

Performing layout traversal directly while evaluating status bar
visibility causes a recursive entry into layout traversal. We should
instead schedule another pass.

Change-Id: Ieb19a53f409863a45032a876d0b2bd2dfe8c30c6
parent 013f84ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9177,7 +9177,7 @@ public class WindowManagerService extends IWindowManager.Stub
        synchronized (mWindowMap) {
            int visibility = mPolicy.adjustSystemUiVisibilityLw(mLastStatusBarVisibility);
            updateStatusBarVisibilityLocked(visibility);
            mWindowPlacerLocked.performSurfacePlacement();
            mWindowPlacerLocked.requestTraversal();
        }
    }