diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java index 5271481895884..a7a792b1f1a70 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java @@ -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) {