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

Commit cc0c27f9 authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Keyguard: Reapply insets when fitsSystemWindow changes

am: a5d6cd09

Change-Id: Id5a004656b5b1443b8c30a7a7b72a64825f057a1
parents f624e7ae a5d6cd09
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -168,7 +168,11 @@ public class StatusBarWindowManager implements RemoteInputController.Callback {
    }

    private void applyFitsSystemWindows(State state) {
        mStatusBarView.setFitsSystemWindows(!state.isKeyguardShowingAndNotOccluded());
        boolean fitsSystemWindows = !state.isKeyguardShowingAndNotOccluded();
        if (mStatusBarView.getFitsSystemWindows() != fitsSystemWindows) {
            mStatusBarView.setFitsSystemWindows(fitsSystemWindows);
            mStatusBarView.requestApplyInsets();
        }
    }

    private void applyUserActivityTimeout(State state) {