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

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

Merge "Fixed status bar window height not updating when enabling cutout."

parents b2cbd9dc ca428bad
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -121,8 +121,13 @@ public class StatusBarWindowController {
        apply(mCurrentState);
    }

    private void applyHeight() {
        mLpChanged.height = mBarHeight;
    }

    private void apply(State state) {
        applyForceStatusBarVisibleFlag(state);
        applyHeight();
        if (mLp != null && mLp.copyFrom(mLpChanged) != 0) {
            mWindowManager.updateViewLayout(mStatusBarView, mLp);
        }