oplus: Set a more correct doze brightness
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:
@@ -120,7 +120,8 @@
|
|||||||
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
||||||
May be less than the minimum allowed brightness setting
|
May be less than the minimum allowed brightness setting
|
||||||
that can be set by the user. -->
|
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
|
<!-- Array of output values for LCD backlight corresponding to the lux values
|
||||||
in the config_autoBrightnessLevels array. This array should have size one greater
|
in the config_autoBrightnessLevels array. This array should have size one greater
|
||||||
|
|||||||
Reference in New Issue
Block a user