From 0b368e57b42a6825ae393c10f8443bfcb0e97880 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Thu, 16 Aug 2018 13:39:50 +0200 Subject: [PATCH] sdm660-common: overlay: Give light sensor some time to warm up When being in dark environments, turning screen off, then moving to bright environments and turning screen on, sometimes it happens that the light sensor emits an initial light sample of 1 lux, which causes the automatic brightness controller to ramp down the brightness even though the ambient brightness is high. Avoid the controller using those samples by giving the light sensor some time to warm up. Change-Id: I81dcb41a25ff0c9f0cf3265da7054ac7ebcbcc34 --- overlay/frameworks/base/core/res/res/values/config.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index babe3bbf..398be193 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -97,6 +97,11 @@ 16000 + + 200 + true