From 421ec5a6833022ff7bb7d0cae2490fd4b1210017 Mon Sep 17 00:00:00 2001 From: Sundong Ahn Date: Mon, 17 Dec 2018 16:40:39 +0900 Subject: [PATCH] universal7885: Add system properties for surfaceflinger The configstore will be not used in surfaceflinger. So surfaceflinger will use the system properties instead of configstore. For this, the system properties are added. Bug: 112386364 Test: m -j && boot test Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014 Signed-off-by: SamarV-121 --- BoardConfigCommon.mk | 3 --- product_prop.mk | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 045fa87..c5a197d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -28,9 +28,6 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a53 TARGET_EXCLUDES_AUDIOFX := true USE_XML_AUDIO_POLICY_CONF := 1 -# Display -NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 - # Enable 64-bits binder TARGET_USES_64_BIT_BINDER := true diff --git a/product_prop.mk b/product_prop.mk index a0034f6..521e871 100644 --- a/product_prop.mk +++ b/product_prop.mk @@ -1,3 +1,7 @@ +# Configstore +PRODUCT_PRODUCT_PROPERTIES += \ + ro.surface_flinger.max_frame_buffer_acquired_buffers=3 + # Graphics PRODUCT_PRODUCT_PROPERTIES += \ debug.sf.latch_unsignaled=1