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

Bug: 328726466
Test: trigger AOD night mode
Change-Id: Ic12022d88669729359ff3f7190f74f71507b1408
Signed-off-by: Ken Lin <lyenting@google.com>
This commit is contained in:
Ken Lin 2024-03-13 16:12:28 +00:00
parent db736857f7
commit 4df5ae6359

View file

@ -29,7 +29,7 @@
to brightness values; -1 means keeping the current brightness. --> to brightness values; -1 means keeping the current brightness. -->
<integer-array name="config_doze_brightness_sensor_to_brightness"> <integer-array name="config_doze_brightness_sensor_to_brightness">
<item>-1</item> <!-- 0: OFF --> <item>-1</item> <!-- 0: OFF -->
<item>2</item> <!-- 1: NIGHT --> <item>1</item> <!-- 1: NIGHT -->
<item>2</item> <!-- 2: LOW --> <item>2</item> <!-- 2: LOW -->
<item>9</item> <!-- 3: HIGH --> <item>9</item> <!-- 3: HIGH -->
<item>9</item> <!-- 4: SUN --> <item>9</item> <!-- 4: SUN -->
@ -41,7 +41,7 @@
-1 means keeping the current opacity. --> -1 means keeping the current opacity. -->
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity"> <integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
<item>-1</item> <!-- 0: OFF --> <item>-1</item> <!-- 0: OFF -->
<item>133</item> <!-- 1: NIGHT --> <item>0</item> <!-- 1: NIGHT -->
<item>0</item> <!-- 2: LOW --> <item>0</item> <!-- 2: LOW -->
<item>0</item> <!-- 3: HIGH --> <item>0</item> <!-- 3: HIGH -->
<item>0</item> <!-- 4: SUN --> <item>0</item> <!-- 4: SUN -->