sm8450-common: overlay: Allow switching between 60Hz and 120Hz

Change-Id: I4f328dbdce50e709f30b1f098e71248d72819268
This commit is contained in:
Cosmin Tanislav 2021-09-05 01:14:47 +03:00 committed by Arian
parent defc946c27
commit 01dc5f47c3
2 changed files with 19 additions and 0 deletions

View file

@ -61,6 +61,22 @@
<!-- If true, the display will be shifted around in ambient mode. --> <!-- If true, the display will be shifted around in ambient mode. -->
<bool name="config_enableBurnInProtection">true</bool> <bool name="config_enableBurnInProtection">true</bool>
<!-- The default refresh rate for a given device. Change this value to set a higher default
refresh rate. If the hardware composer on the device supports display modes with a higher
refresh rate than the default value specified here, the framework may use those higher
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
setFrameRate().
If a non-zero value is set for config_defaultPeakRefreshRate, then
config_defaultRefreshRate may be set to 0, in which case the value set for
config_defaultPeakRefreshRate will act as the default frame rate. -->
<integer name="config_defaultRefreshRate">0</integer>
<!-- The default peak refresh rate for a given device. Change this value if you want to prevent
the framework from using higher refresh rates, even if display modes with higher refresh
rates are available from hardware composer. Only has an effect if the value is
non-zero. -->
<integer name="config_defaultPeakRefreshRate">120</integer>
<!-- Low zone brightness thresholds in the range [0, 255] --> <!-- Low zone brightness thresholds in the range [0, 255] -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate" translatable="false"> <integer-array name="config_brightnessThresholdsOfPeakRefreshRate" translatable="false">
<item>7</item> <item>7</item>

View file

@ -23,6 +23,9 @@
--> -->
<integer name="config_vibration_supported_intensity_levels">3</integer> <integer name="config_vibration_supported_intensity_levels">3</integer>
<!-- Whether to show Smooth Display feature in Settings Options -->
<bool name="config_show_smooth_display">true</bool>
<!-- Max network scan search time in seconds --> <!-- Max network scan search time in seconds -->
<integer name="config_network_scan_helper_max_search_time_sec">254</integer> <integer name="config_network_scan_helper_max_search_time_sec">254</integer>
</resources> </resources>