remove Doze brightness integer config

Replaced by doze brightness float config

Bug: 343796384
Test: adb shell dumpsys display
Flag: com.android.server.display.feature.flags.doze_brightness_float
Change-Id: I2628403c0f8f712dc56478a23add3bdaaeba432b
This commit is contained in:
Peter Lin 2024-08-01 11:59:08 +00:00
parent 8393792f95
commit 7047cb2949
3 changed files with 0 additions and 30 deletions

View file

@ -25,16 +25,6 @@
always-on display) -->
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
to brightness values; -1 means keeping the current brightness. -->
<integer-array name="config_doze_brightness_sensor_to_brightness">
<item>-1</item> <!-- 0: OFF -->
<item>1</item> <!-- 1: NIGHT (1-1)/(255-1)*(1800-2)+2 = 2 nits -->
<item>2</item> <!-- 2: LOW (2-1)/(255-1)*(1800-2)+2 = 9.08 nits -->
<item>8</item> <!-- 3: HIGH (8-1)/(255-1)*(1800-2)+2 = 51.55 nits -->
<item>8</item> <!-- 4: SUN -->
</integer-array>
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
to an opacity value for a black scrim that is overlaid in AOD1.
Valid range is from 0 (transparent) to 255 (opaque).