Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
This reverts commit ddfe879b78.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user