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

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

Keyguard: Reapply insets when fitsSystemWindow changes am: a5d6cd09

am: cc0c27f9

Change-Id: I9a201240bb6cf2db9bb1054430557429dad94ca8
parents 8ce49f12 cc0c27f9
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) {