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:
@@ -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. -->
|
||||
|
||||
Reference in New Issue
Block a user