From: Sundong Ahn Date: Mon, 17 Dec 2018 07:40:39 +0000 (+0900) Subject: universal8895: Add system properties for surfaceflinger X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e5474b15127669617789593b21da97afc8c0849;p=GitHub%2Fexynos8895%2Fandroid_device_samsung_universal8895-common.git universal8895: 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 --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 9990eca..db8f202 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -102,9 +102,6 @@ BOARD_USES_DT := true # Renderscript OVERRIDE_RS_DRIVER := libRSDriverArm.so -# Graphics -NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 - # Samsung HALs TARGET_POWERHAL_VARIANT := samsung diff --git a/system_prop.mk b/system_prop.mk index 81c9037..76ba45b 100644 --- a/system_prop.mk +++ b/system_prop.mk @@ -88,4 +88,8 @@ PRODUCT_PROPERTY_OVERRIDES += \ # Wifi PRODUCT_PROPERTY_OVERRIDES += \ wifi.direct.interface=p2p-dev-wlan0 \ - persist.debug.wfd.enable=1 \ No newline at end of file + persist.debug.wfd.enable=1 + +# Configstore +PRODUCT_PROPERTY_OVERRIDES += \ + ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \ No newline at end of file