display: tegu: don't apply overlay in low light

Bug: 331570018
Test: trigger AOD night mode
Change-Id: I5cb3fa53350973a2b7e6cf6273e7317689663628
Signed-off-by: Cathy Hsu <cathsu@google.com>
This commit is contained in:
Cathy Hsu 2024-03-27 08:04:23 +00:00
parent fa03d443a0
commit 5f058f3dfd

View file

@ -50,7 +50,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 -->
<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 -->
@ -62,7 +62,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 -->