aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-01-08 14:37:51 +0530
committersinanmohd <pcmsinan@gmail.com>2023-01-08 17:55:33 +0530
commit1d10e26045413f33953e6bcf801492a9fa890211 (patch)
tree94baa40cc9945519ed01546fe4a57a3568a02a04
parent673b7a318bf2d7b240b94588c5fd20ddc9483df1 (diff)
veux: correct maximum and minimum brightness values based on the kernel driver, aka look at the phone during night without frying your eyesHEADlineage-20.0
-rw-r--r--rro_overlays/FrameworksResOverlayVeux/res/values/config.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml b/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
index 826c6a9..90e1472 100644
--- a/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
+++ b/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
@@ -305,8 +305,8 @@
<!-- Minimum screen brightness setting allowed by power manager.
The user is forbidden from setting the brightness below this level.
- Equivalent to 17/4095. -->
- <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.00415140415</item>
+ Equivalent to 4/2047. -->
+ <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0019540791</item>
<!-- Maximum screen brightness allowed by the power manager.
The user is forbidden from setting the brightness above this level. -->