display: remove blocking zone

use display device config file instead of config.xml

Bug: 295020354
test: check the dumpsys display
Change-Id: Ieb5babcd7e3770585c544b8547c94ce95aef5c1e
This commit is contained in:
Peter Lin 2023-08-21 01:50:46 +00:00
parent 1ef1991110
commit 77ffcb817c

View file

@ -48,19 +48,6 @@
<!-- 140 nits: (140-2)/(1000-2)*(0.63-0.0)+0.0 = 0.087114228 -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.087114228</item>
<!-- Not allow to switch to higher refresh rate when display brightness setting is
equal or less than this value -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
<!-- System brightness for 8 nits: round((8-2)/(1600-2)*(255-1)+1) = 2 -->
<item>2</item> <!-- 14% UI brightness -->
</integer-array>
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
<item>5</item>
</integer-array>
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">120</integer>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows:
Zone 0: 0 <= LUX < array[0]