From 17297b78876f152f03ee51e5d95e5880420114a6 Mon Sep 17 00:00:00 2001 From: d34d Date: Sun, 10 Apr 2016 12:03:47 -0700 Subject: 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 --- .../src/com/android/systemui/statusbar/phone/NotificationPanelView.java | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') 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)) { -- cgit v1.1