commit | 20f87d7aed6c926eadd8beea44968a8d13780021 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Thu Nov 05 16:08:51 2009 -0500 |
committer | Mike Lockwood <lockwood@android.com> | Thu Nov 05 16:13:46 2009 -0500 |
tree | bd5a9b5d61da79a6d8c0ebc0a3d6f0e3a9c7ff37 | |
parent | 67b692920c18f99b096dce285adc6f7439fa866c [diff] |
Throttle proximity sensor values so we do not process more than one change a second. This is to prevent a noisy proximity sensor from causing the screen to turn on and off in rapid succession, which can trigger race conditions in the keyguard manager. Change-Id: I2c6e54e4b41716e038854ed9a827c901579c8865 Signed-off-by: Mike Lockwood <lockwood@android.com>