From e2f9acb1d94d086db7243bb4c79f154225811e32 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Thu, 16 Aug 2018 13:39:50 +0200 Subject: [PATCH] clover: 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 0a02ec4..f59852e 100755 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -179,4 +179,9 @@ or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM and one pSIM) --> 1 + + + 200