Craig Mautner 44bf70fba2 Set the reason for screen-off before usage.
An occasional call sequence through updateLightsLocked ended up storing
the old screen-off reason rather than the current screen-off reason.
This caused the Keyguard screen to be bypassed when turning back on. By
saving the power-off reason in mScreenOffReason prior to calling
updateLightsLocked we eliminate this problem.

The offending calling sequence was:
  PowerManagerService.setPowerState(..., reason) => updateLightsLocked
  => animateTo => screenOffFinishedAminatingLocked(mScreenOffReason)
  => sendNotificationLocked.

Change-Id: I8ee0b3226f94af7ff7e7b7b0bf54e47fd0c03631
2012-03-13 11:38:38 -07:00
2012-03-12 10:54:42 -07:00
2012-03-09 09:46:33 -08:00
2012-03-12 10:54:42 -07:00
2012-02-28 13:05:36 -08:00
2012-02-27 13:03:08 -08:00
2012-03-09 17:41:41 -08:00
2012-02-23 16:39:15 -08:00
2012-01-17 11:57:27 -08:00
2012-02-29 14:05:24 -08:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%