diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 428ceca1f18b0..9239eacb6bb95 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -1585,6 +1585,7 @@ public class KeyguardViewMediator extends SystemUI { private void handleNotifyScreenTurningOn(IKeyguardDrawnCallback callback) { synchronized (KeyguardViewMediator.this) { if (DEBUG) Log.d(TAG, "handleNotifyScreenTurningOn"); + mStatusBarKeyguardViewManager.onScreenTurningOn(); if (callback != null) { if (mWakeAndUnlocking) { mDrawnCallback = callback; 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 c4c8e3dc6ae41..8c58fc5f2336a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java @@ -2226,7 +2226,7 @@ public class NotificationPanelView extends PanelView implements } }; - public void onScreenTurnedOn() { + public void onScreenTurningOn() { mKeyguardStatusView.refreshTime(); } diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 453b268931764..52acbf88fef6b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -3857,11 +3857,14 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, public void onScreenTurnedOn() { mScreenOnFromKeyguard = true; mStackScroller.setAnimationsEnabled(true); - mNotificationPanel.onScreenTurnedOn(); mNotificationPanel.setTouchDisabled(false); updateVisibleToUser(); } + public void onScreenTurningOn() { + mNotificationPanel.onScreenTurningOn(); + } + /** * This handles long-press of both back and recents. They are * handled together to capture them both being long-pressed 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 3c1272d62c906..9543f93bb658d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java @@ -172,6 +172,10 @@ public class StatusBarKeyguardViewManager { mPhoneStatusBar.onScreenTurnedOn(); } + public void onScreenTurningOn() { + mPhoneStatusBar.onScreenTurningOn(); + } + public void onScreenTurnedOn() { mScreenTurnedOn = true; mWakeAndUnlocking = false;