diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-05-13 22:50:20 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-05-14 14:03:37 +0200 |
commit | 5fd4d05aae4b8b0dc1d1b21a206e218f47b0ea3a (patch) | |
tree | 9ee6080a4cde8b564f3bb8fc46a63018811d5efc /packages/SystemUI/src | |
parent | 10817fbf38b07c4a1565c143c3e1fb6722523cc7 (diff) | |
download | frameworks_base-5fd4d05aae4b8b0dc1d1b21a206e218f47b0ea3a.zip frameworks_base-5fd4d05aae4b8b0dc1d1b21a206e218f47b0ea3a.tar.gz frameworks_base-5fd4d05aae4b8b0dc1d1b21a206e218f47b0ea3a.tar.bz2 |
Fix Keyboard over Keyguard when password is set.
Bug: 14842750
Change-Id: Ie7d92ee60191f8083c8ff65aba3754c71e4a5819
Diffstat (limited to 'packages/SystemUI/src')
2 files changed, 9 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java index 48c54fc..b624c96 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java @@ -220,6 +220,7 @@ public class StatusBarKeyguardViewManager { mPhoneStatusBar.getNavigationBarView().setVisibility(View.GONE); } } + mStatusBarWindowManager.setBouncerShowing(mBouncer.isShowing()); mPhoneStatusBar.setBouncerShowing(mBouncer.isShowing()); } 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 8809d18..46a637b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java @@ -111,7 +111,8 @@ public class StatusBarWindowManager { } private void applyFocusableFlag(State state) { - if (state.isKeyguardShowingAndNotOccluded() && state.keyguardNeedsInput) { + if (state.isKeyguardShowingAndNotOccluded() && state.keyguardNeedsInput + && state.bouncerShowing) { mLp.flags &= ~WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; mLp.flags &= ~WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; } else if (state.isKeyguardShowingAndNotOccluded() || state.statusBarFocusable) { @@ -196,6 +197,11 @@ public class StatusBarWindowManager { apply(mCurrentState); } + public void setBouncerShowing(boolean showing) { + mCurrentState.bouncerShowing = showing; + apply(mCurrentState); + } + /** * @param state The {@link StatusBarState} of the status bar. */ @@ -211,6 +217,7 @@ public class StatusBarWindowManager { boolean statusBarExpanded; boolean statusBarFocusable; long keyguardUserActivityTimeout; + boolean bouncerShowing; /** * The {@link BaseStatusBar} state from the status bar. |