From 9b813692f5cfe06f10416b61bcb388f1e9ac198b Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Fri, 6 Nov 2009 15:53:59 -0500 Subject: [PATCH] Increase light sensor delay from one to two seconds. Change-Id: I3f0ded49cb447835133cf8d5d693260e8312aa89 Signed-off-by: Mike Lockwood --- services/java/com/android/server/PowerManagerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/java/com/android/server/PowerManagerService.java b/services/java/com/android/server/PowerManagerService.java index 270e3cba52a30..2e1cf569705c9 100644 --- a/services/java/com/android/server/PowerManagerService.java +++ b/services/java/com/android/server/PowerManagerService.java @@ -91,7 +91,7 @@ class PowerManagerService extends IPowerManager.Stub 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;