Enable SurfaceFlinger Cache by default

Test: check SF Cache is enabled by default using perfetto trace
Bug: 172968540
Change-Id: I525b6db8d35207c1f2f8982d9fa64ed501592c6f
This commit is contained in:
Wiwit Rifa'i 2021-03-29 23:31:34 +08:00 committed by Yichi Chen
parent d8b25b96f8
commit cfaf39f1de

View file

@ -599,6 +599,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