Automated import from //branches/donutburger/...@141746,141746

This commit is contained in:
Dianne Hackborn
2009-03-24 20:50:09 -07:00
committed by The Android Open Source Project
parent ad29734182
commit 7448901dee

View File

@@ -1615,9 +1615,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
/** {@inheritDoc} */
public void screenTurnedOff(int why) {
EventLog.writeEvent(70000, 0);
mKeyguardMediator.onScreenTurnedOff(why);
synchronized (mLock) {
EventLog.writeEvent(70000, 0);
mKeyguardMediator.onScreenTurnedOff(why);
mScreenOn = false;
updateOrientationListenerLp();
}
@@ -1625,9 +1625,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
/** {@inheritDoc} */
public void screenTurnedOn() {
EventLog.writeEvent(70000, 1);
mKeyguardMediator.onScreenTurnedOn();
synchronized (mLock) {
EventLog.writeEvent(70000, 1);
mKeyguardMediator.onScreenTurnedOn();
mScreenOn = true;
updateOrientationListenerLp();
}