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
This commit is contained in:
parent
be19699d9b
commit
e2f9acb1d9
1 changed files with 5 additions and 0 deletions
|
@ -179,4 +179,9 @@
|
||||||
or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM
|
or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM
|
||||||
and one pSIM) -->
|
and one pSIM) -->
|
||||||
<integer name="config_num_physical_slots">1</integer>
|
<integer name="config_num_physical_slots">1</integer>
|
||||||
|
|
||||||
|
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
|
||||||
|
For this time after the screen turns on, the Power Manager
|
||||||
|
will not debounce light sensor readings -->
|
||||||
|
<integer name="config_lightSensorWarmupTime">200</integer>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue