display: cm4: don't apply overlay in low light
Bug: 325072661 Change-Id: I6246682513ebbcc3b21e0c42b69d175eb46c719e Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
This commit is contained in:
parent
e8ba192eb3
commit
0fdfd18c51
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
|||
to brightness values; -1 means keeping the current brightness. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>2</item> <!-- 1: NIGHT -->
|
||||
<item>1</item> <!-- 1: NIGHT (1-1)/(255-1)*(1850-2)+2 = 2 nits -->
|
||||
<item>2</item> <!-- 2: LOW (2-1)/(255-1)*(1850-2)+2 = 9.2 nits -->
|
||||
<item>8</item> <!-- 3: HIGH (8-1)/(255-1)*(1850-2)+2 = 52.9 nits -->
|
||||
<item>8</item> <!-- 4: SUN -->
|
||||
|
@ -55,7 +55,7 @@
|
|||
-1 means keeping the current opacity. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>133</item> <!-- 1: NIGHT -->
|
||||
<item>0</item> <!-- 1: NIGHT -->
|
||||
<item>0</item> <!-- 2: LOW -->
|
||||
<item>0</item> <!-- 3: HIGH -->
|
||||
<item>0</item> <!-- 4: SUN -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue