Tweak ambient light thresholds.

In particular, make the "dark" threshold higher so that it is easier to
get into low-light mode.

Test: manually by inspecting logs while adjusting ambient light.
Bug: 230418765
Change-Id: I245297ceeb0a596fea6e44c58baf2aea8f4db45b
This commit is contained in:
Will
2022-04-27 09:50:26 -07:00
parent 692e5f7dd5
commit 16ad2a7283

View File

@@ -622,11 +622,11 @@
<!-- This value is used when calculating whether the device is in ambient light mode. It is
light mode when the light sensor sample value exceeds above this value. -->
<integer name="config_ambientLightModeThreshold">5</integer>
<integer name="config_ambientLightModeThreshold">10</integer>
<!-- This value is used when calculating whether the device is in ambient dark mode. It is
dark mode when the light sensor sample value drops below this value. -->
<integer name="config_ambientDarkModeThreshold">2</integer>
<integer name="config_ambientDarkModeThreshold">5</integer>
<!-- This value is used when calculating whether the device is in ambient light mode. Each
sample contains light sensor events from this span of time duration. -->