commit | 75fc9de2587f493f79ac6719a57ce76f5b3e73df | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Mon Jun 18 16:53:27 2012 -0700 |
committer | Craig Mautner <cmautner@google.com> | Mon Jun 18 16:53:27 2012 -0700 |
tree | 54834e81fb3c0d8f8994dc0a82ad20e7564e7f6d | |
parent | 8b9c6d51d59898375089e9708325604c227812e0 [diff] |
More paths for turning on screen immediately. This fix forces the path through the updateLightsLocked method to turn the screen on immediately if mWaitingForFirstLightSensor is true. Also do not clear mWaitingForFirstLightSensor if mPreparingForScreenOn is true. Wait until it turns false. Fixes bug 6612418. Change-Id: I03407e748cce4906a73de1f15df1654649b133c4