commit | 9b813692f5cfe06f10416b61bcb388f1e9ac198b | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Fri Nov 06 15:53:59 2009 -0500 |
committer | Mike Lockwood <lockwood@android.com> | Fri Nov 06 15:53:59 2009 -0500 |
tree | 0d96ece45d436c1bdc419f2bde80ba2cabcdb4a6 | |
parent | 322591cb4b158dc2edbc3d95cd02e44f132feb5f [diff] [blame] |
Increase light sensor delay from one to two seconds. Change-Id: I3f0ded49cb447835133cf8d5d693260e8312aa89 Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/services/java/com/android/server/PowerManagerService.java b/services/java/com/android/server/PowerManagerService.java index 270e3cb..2e1cf56 100644 --- a/services/java/com/android/server/PowerManagerService.java +++ b/services/java/com/android/server/PowerManagerService.java
@@ -91,7 +91,7 @@ private static final int LONG_DIM_TIME = 7000; // t+N-5 sec // How long to wait to debounce light sensor changes. - private static final int LIGHT_SENSOR_DELAY = 1000; + private static final int LIGHT_SENSOR_DELAY = 2000; // For debouncing the proximity sensor. private static final int PROXIMITY_SENSOR_DELAY = 1000;