matisse-common: disable automatic brightness

It isn't supported in stock ROM and device hasn't light sensor.
This commit is contained in:
matteo0026 2020-07-03 14:38:45 +02:00
parent acc9de40c5
commit c6b8b6824d
1 changed files with 3 additions and 58 deletions

View File

@ -24,64 +24,9 @@
<bool name="config_deskDockEnablesAccelerometer">false</bool>
<!-- 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]
Zone 1: array[0] <= LUX < array[1]
...
Zone N: array[N - 1] <= LUX < array[N]
Zone N + 1 array[N] <= LUX < infinity
Must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLevels">
<item>2</item>
<item>7</item>
<item>15</item>
<item>50</item>
<item>100</item>
<item>200</item>
<item>400</item>
<item>1000</item>
<item>2000</item>
<item>3000</item>
<item>5000</item>
<item>10000</item>
<item>30000</item>
</integer-array>
<!-- Array of output values for LCD backlight corresponding to the LUX values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
This must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>13</item> <!-- 0-2 -->
<item>25</item> <!-- 3-7 -->
<item>32</item> <!-- 5-15 -->
<item>41</item> <!-- 15-50 -->
<item>52</item> <!-- 50-100 -->
<item>62</item> <!-- 100-200 -->
<item>69</item> <!-- 200-400 -->
<item>78</item> <!-- 400-1000 -->
<item>88</item> <!-- 1000-2000 -->
<item>134</item> <!-- 2000-3000 -->
<item>178</item> <!-- 3000-5000 -->
<item>225</item> <!-- 5000-10000 -->
<item>255</item> <!-- 10000-30000 -->
<item>255</item> <!-- 30000+ -->
</integer-array>
<!-- Array of output values for button backlight corresponding to the LUX values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
This must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>1</item>
<item>1</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
<!-- Flag indicating whether we should enable the automatic brightness in Settings.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">false</bool>
<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">2</integer>