universal8895: Add system properties for surfaceflinger
authorSundong Ahn <sundongahn@google.com>
Mon, 17 Dec 2018 07:40:39 +0000 (16:40 +0900)
committerJan Altensen <info@stricted.net>
Sun, 19 Jan 2020 07:53:44 +0000 (08:53 +0100)
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

BoardConfigCommon.mk
system_prop.mk

index 9990ecab511874c3ce0477814ef1f0572cf8e2b1..db8f202d33902bfd1e2142feb8040d549dac3b38 100644 (file)
@@ -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
 
index 81c9037264a27d2dad61e698445fecc2173a0d03..76ba45bb3080835206870dc00d6bd81dd5c9ba21 100644 (file)
@@ -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