instantnoodlep: overlay: Set config_screenBrightnessSettingMaximumFloat=1.0

When config_screenBrightnessSettingMaximumFloat is unset
we are falling back to legacy (0-255 int) configuration.

Change-Id: Iecb9ad8fcc25178160e2114dd40337f59af3cf66
This commit is contained in:
LuK1337 2021-04-06 11:26:47 +02:00
parent ef02e9c0eb
commit 116c280205

View File

@ -313,6 +313,12 @@
Must be in the range specified by minimum and maximum. -->
<item type="dimen" name="config_screenBrightnessSettingDefaultFloat">0.44313726</item>
<!-- Maximum screen brightness allowed by the power manager.
-2 is invalid so setting will resort to int value specified above.
Set this to 1.0 for maximum brightness range.
The user is forbidden from setting the brightness above this level. -->
<item type="dimen" name="config_screenBrightnessSettingMaximumFloat">1.0</item>
<!-- Minimum screen brightness setting allowed by power manager.
-2 is invalid so setting will resort to int value specified above.
Set this to 0.0 to allow screen to go to minimal brightness.