sm7250-common: set Surfaceflinger refresh rate timers

This to allow us to idle to lower refresh rates even if the app is requesting a higher one if it's idle to save battery life, or boost even on apps that don't request a certain high refresh rate to get a smoother experience

Change-Id: Ie611283e1d75a31b218454073e85742be91fdf07
Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
Ramisky
2021-12-17 15:30:02 +00:00
committed by Sandeep P S
parent bf913e6885
commit 8b97ab3a18
2 changed files with 7 additions and 2 deletions

View File

@@ -503,8 +503,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.protected_contents=true \
ro.surface_flinger.use_color_management=true \
ro.surface_flinger.refresh_rate_switching=true \
ro.surface_flinger.wcg_composition_dataspace=143261696 \
ro.surface_flinger.use_content_detection_for_refresh_rate=true
ro.surface_flinger.wcg_composition_dataspace=143261696
# Disable Rescue Party on userdebug & eng build
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))

View File

@@ -230,6 +230,12 @@ persist.vendor.radio.rat_on=combine
persist.vendor.radio.sib16_support=1
ro.com.android.dataroaming=false
# Refresh Rate
ro.surface_flinger.use_content_detection_for_refresh_rate=true
ro.surface_flinger.set_display_power_timer_ms=1000
ro.surface_flinger.set_idle_timer_ms=80
ro.surface_flinger.set_touch_timer_ms=200
# Seamless transfer
sys.fflag.override.settings_seamless_transfer=true