Skip to content

Commit

Permalink
ferrari: Set config_autoBrightnessAdjustmentMaxGamma to 100%
Browse files Browse the repository at this point in the history
mMaxGamma=1.0 when running dumpsys display on stock

Change-Id: I65ea05bc6f5b960f82bcb1843b2765cb70f6a2c8
  • Loading branch information
pjgowtham committed Nov 12, 2024
1 parent b7dc8f1 commit bdb61f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions overlay/OPlusFrameworksResTarget/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@
The user is forbidden from setting the brightness below this level. -->
<item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.00097680097</item>

<!-- The maximum range of gamma adjustment possible using the screen
auto-brightness adjustment setting. -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">100%</fraction>

<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
for debouncing the light sensor. Different constants are used to debounce the light sensor
when adapting to brighter or darker environments. This parameter controls how quickly
Expand Down

0 comments on commit bdb61f5

Please sign in to comment.