summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2016-04-10 12:03:47 -0700
committerClark Scheff <clark@cyngn.com>2016-04-10 12:10:11 -0700
commit17297b78876f152f03ee51e5d95e5880420114a6 (patch)
tree90a3887da8b4c8caf9940582caee8a5a40a5f76d /packages/SystemUI
parente0554d493e870ea5e323ed06f54becb93c19fa04 (diff)
downloadframeworks_base-17297b78876f152f03ee51e5d95e5880420114a6.zip
frameworks_base-17297b78876f152f03ee51e5d95e5880420114a6.tar.gz
frameworks_base-17297b78876f152f03ee51e5d95e5880420114a6.tar.bz2
SysUI: reset mCanDismissKeyguard in setBarState
This patch ensures mCanDismissKeyguard is in the correct state when setBarState is called, which fixes issues with bouncer showing when calls come in or an alarm goes off. This also seems to fix an issue where the bouncer is not shown when fingerprint authenticiation is used for the first time on boot. Change-Id: Ie19fd501b334d4faee14f1ddeb101cbec2515440 TICKET: CYNGNOS-2400 NIGHTLIES-2767
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
index 12f1863..d4aa681 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -1298,6 +1298,7 @@ public class NotificationPanelView extends PanelView implements
mStatusBarState = statusBarState;
mKeyguardShowing = keyguardShowing;
+ mCanDismissKeyguard = keyguardShowing;
if (goingToFullShade || (oldState == StatusBarState.KEYGUARD
&& statusBarState == StatusBarState.SHADE_LOCKED)) {