am f184c681: Ignore requests to hide the keyguard if we are in the process of waking up.
Merge commit 'f184c68119489aa00eccba41d3babedce282518b' into eclair-mr2 * commit 'f184c68119489aa00eccba41d3babedce282518b': Ignore requests to hide the keyguard if we are in the process of waking up.
This commit is contained in:
@@ -876,6 +876,10 @@ public class KeyguardViewMediator implements KeyguardViewCallback,
|
||||
private void handleHide() {
|
||||
synchronized (KeyguardViewMediator.this) {
|
||||
if (DEBUG) Log.d(TAG, "handleHide");
|
||||
if (mWakeAndHandOff.isHeld()) {
|
||||
Log.w(TAG, "attempt to hide the keyguard while waking, ignored");
|
||||
return;
|
||||
}
|
||||
// When we go away, tell the poewr manager to honor requests from userActivity.
|
||||
mRealPowerManager.enableUserActivity(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user