sm8250-common: overlay: Enable smooth display with 120Hz
There's no point to keep using custom pref to set minimum refresh rate when AOSP smooth display feature behaves in the exact same way in our case. Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
This commit is contained in:
@@ -304,4 +304,20 @@
|
||||
<item>258</item>
|
||||
<item>259</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- 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>
|
||||
</resources>
|
||||
|
||||
@@ -37,4 +37,7 @@
|
||||
<item>258</item>
|
||||
<item>259</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">true</bool>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user