Revert "Revert "Enable SurfaceFlinger Cache by default""

This reverts commit 51c9d02193.

Reason for revert: Blocking flicker issues have been fixed.

Bug: 185398025

Change-Id: Ib712967e932cfcce3feca781731aba8264734dcd
This commit is contained in:
Alec Mouri 2021-04-28 20:39:48 +00:00
parent 13c4abd67c
commit eee30bde78

View file

@ -595,6 +595,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.early.app.duration=16500000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.sf.duration=13500000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.app.duration=21000000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.enable_layer_caching=true
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=80
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_touch_timer_ms=200
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_display_power_timer_ms=1000