Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."

This reverts commit ddfe879b78.
This commit is contained in:
Mike Lockwood
2009-09-17 11:47:56 -04:00
parent c7aef5d0fd
commit c17f07aa04
2 changed files with 0 additions and 5 deletions

View File

@@ -957,9 +957,6 @@ class PowerManagerService extends IPowerManager.Stub
private void sendNotificationLocked(boolean on, int why)
{
if (mProximitySensorActive) {
why = WindowManagerPolicy.OFF_BECAUSE_OF_PROXIMITY_SENSOR;
}
if (!on) {
mStillNeedSleepNotification = false;
}