am 81eeef58: Merge "Update time when turning on screen, in addition to waking up" into mnc-dev
* commit '81eeef589386483722c21572d9ab6d3f95dd26be': Update time when turning on screen, in addition to waking up
This commit is contained in:
@@ -1571,6 +1571,7 @@ public class KeyguardViewMediator extends SystemUI {
|
|||||||
private void handleNotifyScreenTurningOn(IKeyguardDrawnCallback callback) {
|
private void handleNotifyScreenTurningOn(IKeyguardDrawnCallback callback) {
|
||||||
synchronized (KeyguardViewMediator.this) {
|
synchronized (KeyguardViewMediator.this) {
|
||||||
if (DEBUG) Log.d(TAG, "handleNotifyScreenTurningOn");
|
if (DEBUG) Log.d(TAG, "handleNotifyScreenTurningOn");
|
||||||
|
mStatusBarKeyguardViewManager.onScreenTurningOn();
|
||||||
if (callback != null) {
|
if (callback != null) {
|
||||||
if (mWakeAndUnlocking) {
|
if (mWakeAndUnlocking) {
|
||||||
mDrawnCallback = callback;
|
mDrawnCallback = callback;
|
||||||
|
|||||||
@@ -2226,7 +2226,7 @@ public class NotificationPanelView extends PanelView implements
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public void onScreenTurnedOn() {
|
public void onScreenTurningOn() {
|
||||||
mKeyguardStatusView.refreshTime();
|
mKeyguardStatusView.refreshTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3837,11 +3837,14 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
|||||||
public void onScreenTurnedOn() {
|
public void onScreenTurnedOn() {
|
||||||
mScreenOnFromKeyguard = true;
|
mScreenOnFromKeyguard = true;
|
||||||
mStackScroller.setAnimationsEnabled(true);
|
mStackScroller.setAnimationsEnabled(true);
|
||||||
mNotificationPanel.onScreenTurnedOn();
|
|
||||||
mNotificationPanel.setTouchDisabled(false);
|
mNotificationPanel.setTouchDisabled(false);
|
||||||
updateVisibleToUser();
|
updateVisibleToUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onScreenTurningOn() {
|
||||||
|
mNotificationPanel.onScreenTurningOn();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This handles long-press of both back and recents. They are
|
* This handles long-press of both back and recents. They are
|
||||||
* handled together to capture them both being long-pressed
|
* handled together to capture them both being long-pressed
|
||||||
|
|||||||
@@ -172,6 +172,10 @@ public class StatusBarKeyguardViewManager {
|
|||||||
mPhoneStatusBar.onScreenTurnedOn();
|
mPhoneStatusBar.onScreenTurnedOn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onScreenTurningOn() {
|
||||||
|
mPhoneStatusBar.onScreenTurningOn();
|
||||||
|
}
|
||||||
|
|
||||||
public void onScreenTurnedOn() {
|
public void onScreenTurnedOn() {
|
||||||
mScreenTurnedOn = true;
|
mScreenTurnedOn = true;
|
||||||
mWakeAndUnlocking = false;
|
mWakeAndUnlocking = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user