mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +00:00
Add brightness float values to config file.
Test: manual testing - ensure that the brightness value in Settings>Display>Brightness Level can go the full range from 0% to 100%. Change-Id: Iccdd9c69d97ad94ea1956b44f9a7bedca4110ed7
This commit is contained in:
@@ -157,13 +157,20 @@
|
||||
<!-- Screen brightness when dozing. -->
|
||||
<integer name="config_screenBrightnessDoze">13</integer>
|
||||
|
||||
<!-- Default screen brightness setting.
|
||||
Must be in the range specified by minimum and maximum. -->
|
||||
<integer name="config_screenBrightnessSettingDefault">98</integer>
|
||||
<!-- Minimum screen brightness setting allowed by power manager.
|
||||
The user is forbidden from setting the brightness below this level.
|
||||
Equivalent to 1/255. -->
|
||||
<item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>
|
||||
|
||||
<!-- Minimum screen brightness setting allowed by the power manager.
|
||||
The user is forbidden from setting the brightness below this level. -->
|
||||
<integer name="config_screenBrightnessSettingMinimum">1</integer>
|
||||
<!-- Maximum screen brightness allowed by the power manager.
|
||||
The user is forbidden from setting the brightness above this level.
|
||||
This value is a fraction between 3.5% and 100%. -->
|
||||
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
|
||||
|
||||
<!-- Default screen brightness setting
|
||||
Must be in the range specified by minimum and maximum.
|
||||
Equivalent to 98/255 (default for this device) -->
|
||||
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.38188976378</item>
|
||||
|
||||
<!-- Values for USB port setting. in format of bootmode:current function:new function -->
|
||||
<string-array translatable="false" name="config_oemUsbModeOverride">
|
||||
|
||||
Reference in New Issue
Block a user