commit | a005f1b6853e8852c328f4fdc02fb8f9c9ae1cd6 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Wed Apr 16 19:06:10 2014 +0200 |
committer | Jorim Jaggi <jjaggi@google.com> | Wed Apr 16 21:15:59 2014 +0200 |
tree | 7a8a2b691e5a8ab927d49c6c33f6d6269e4bcaad | |
parent | c5dc0d0cce373fbf292e13633c114a431d747167 [diff] [blame] |
Show enter PIN/PUK before notifications on Keyguard. Change-Id: Icec12a43487fe76378e10bb8aaaa163c53b69075
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 6153cde..716e326 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java
@@ -128,6 +128,10 @@ } } + private void applyFitsSystemWindows(State state) { + mStatusBarView.setFitsSystemWindows(!state.isKeyguardShowingAndNotOccluded()); + } + private void applyUserActivityTimeout(State state) { if (state.isKeyguardShowingAndNotOccluded()) { mLp.userActivityTimeout = state.keyguardUserActivityTimeout; @@ -151,6 +155,7 @@ applyHeight(state); applyUserActivityTimeout(state); applyInputFeatures(state); + applyFitsSystemWindows(state); mWindowManager.updateViewLayout(mStatusBarView, mLp); }