oplus: Set a more correct doze brightnes

Stock uses different AOD brightness values ranging from 10-50 nits.

We can only use one on AOSP, so let's use max from stock for AOD
brightness.

Inspired by
https://gerrit.aospa.co/c/AOSPA/android_device_nothing_phone1/+/27237

Change-Id: I12505be390753655b36e44dfd18e4b68311925be
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
John Galt
2023-02-20 02:40:01 +09:00
committed by Sandeep-FED
parent 845e3c4f13
commit e32d523f9f

View File

@@ -120,7 +120,8 @@
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDoze">17</integer>
<integer name="config_screenBrightnessDoze">30</integer>
<item name="config_screenBrightnessDozeFloat" format="float" type="dimen">0.1</item>
<!-- Array of output values for LCD backlight corresponding to the lux values
in the config_autoBrightnessLevels array. This array should have size one greater