am bd29b07e: Merge "Fix Keyguard drawn timeout" into mnc-dev
* commit 'bd29b07eab3956796a7a09d7612e42e22616f458': Fix Keyguard drawn timeout
This commit is contained in:
@@ -5493,10 +5493,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
// may happen in a future call to goToSleep.
|
||||
synchronized (mLock) {
|
||||
mAwake = true;
|
||||
if (mKeyguardDelegate != null) {
|
||||
mHandler.removeMessages(MSG_KEYGUARD_DRAWN_TIMEOUT);
|
||||
mHandler.sendEmptyMessageDelayed(MSG_KEYGUARD_DRAWN_TIMEOUT, 1000);
|
||||
}
|
||||
|
||||
updateWakeGestureListenerLp();
|
||||
updateOrientationListenerLp();
|
||||
@@ -5586,6 +5582,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
mScreenOnListener = screenOnListener;
|
||||
|
||||
if (mKeyguardDelegate != null) {
|
||||
mHandler.removeMessages(MSG_KEYGUARD_DRAWN_TIMEOUT);
|
||||
mHandler.sendEmptyMessageDelayed(MSG_KEYGUARD_DRAWN_TIMEOUT, 1000);
|
||||
mKeyguardDelegate.onScreenTurningOn(mKeyguardDrawnCallback);
|
||||
} else {
|
||||
if (DEBUG_WAKEUP) Slog.d(TAG,
|
||||
|
||||
Reference in New Issue
Block a user