Enable SurfaceFlinger Cache by default

Bug: 167936510
Test: Multiple fixes for flickering issues have landed.
Change-Id: I3da8f94e736c6dd5347585c3edb1a1080e9fff58
This commit is contained in:
Alec Mouri 2021-05-11 01:58:14 +00:00 committed by TreeHugger Robot
parent f25a39d71e
commit 336e603ad2

View file

@ -589,6 +589,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.early.app.duration=16600000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.sf.duration=16600000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.app.duration=16600000
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