commit | 0e5bb7f1c9558bcf76af4f31dd5a11e78bcbdc9d | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sat Nov 14 06:36:31 2009 -0500 |
committer | Mike Lockwood <lockwood@android.com> | Sat Nov 14 06:41:20 2009 -0500 |
tree | e10f0613395a878b58d3f23b1fb080816177078a | |
parent | d12ba5e04b1cf82c0dd7f8bcf76cdf0b773b09a9 [diff] |
PowerManagerService: Hold a wakelock while mProximityTask is queued This prevents the device from sleeping while a deferred proximity sensor event is pending. Fixes b/2260005 (Proximity sensor can fail due to missing wakelock) Change-Id: Ia4825f548b5b7d8a0b184f720b32c2f21b77b96e Signed-off-by: Mike Lockwood <lockwood@android.com>