pipa: Enable smooth display
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 Signed-off-by: Francescodario Cuzzocrea <bosconovic@gmail.com>
This commit is contained in:
committed by
Sebastiano Barezzi
parent
5e4519d136
commit
75567862cd
@@ -12,6 +12,6 @@
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Whether to show min refresh rate in display settings -->
|
||||
<bool name="config_show_min_refresh_rate_switch">true</bool>
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">true</bool>
|
||||
</resources>
|
||||
|
||||
@@ -45,11 +45,15 @@
|
||||
empty string is passed in -->
|
||||
<string name="config_wlan_data_service_package" translatable="false">vendor.qti.iwlan</string>
|
||||
|
||||
<!-- 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">60</integer>
|
||||
<!-- 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>
|
||||
|
||||
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
|
||||
percent. The length of this array is assumed to be one greater than
|
||||
|
||||
@@ -34,3 +34,6 @@ vendor.audio_hal.period_multiplier=3
|
||||
# Display
|
||||
ro.vendor.display.paneltype=2
|
||||
vendor.display.defer_fps_frame_count=2
|
||||
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
||||
ro.surface_flinger.set_idle_timer_ms=250
|
||||
ro.surface_flinger.set_touch_timer_ms=300
|
||||
|
||||
Reference in New Issue
Block a user