From f6eb32a92cb22162518b48379a91f980c9160fc2 Mon Sep 17 00:00:00 2001 From: Alcatraz323 Date: Fri, 30 Jun 2023 17:54:57 +0800 Subject: [PATCH] sdm660-common: clear properties, clear BoardConfig, update surface api properties * kill not exist debug.media.codec2 * replace NUM_FRAMEBUFFER_SURFACE_BUFFERS with properties Signed-off-by: pix106 --- BoardConfigCommon.mk | 1 - properties/system.prop | 1 + properties/vendor.prop | 3 --- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a48d66d1..ad81f8b8 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -83,7 +83,6 @@ TARGET_USES_GRALLOC4 := true TARGET_USES_HWC2 := true TARGET_USES_GRALLOC1 := true TARGET_USES_ION := true -NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 # Face Unlock TARGET_FACE_UNLOCK_SUPPORTED := true diff --git a/properties/system.prop b/properties/system.prop index e24fa290..e809e435 100644 --- a/properties/system.prop +++ b/properties/system.prop @@ -76,6 +76,7 @@ debug.sf.enable_egl_image_tracker=true debug.sf.disable_backpressure=1 debug.sf.enable_hwc_vds=0 debug.sf.enable_transaction_tracing=false +ro.surface_flinger.max_frame_buffer_acquired_buffers=3 ro.surface_flinger.max_virtual_display_dimension=4096 # Fling diff --git a/properties/vendor.prop b/properties/vendor.prop index 6fdea501..07717dd3 100644 --- a/properties/vendor.prop +++ b/properties/vendor.prop @@ -122,9 +122,6 @@ persist.vendor.audio.spatializer.speaker_enabled=true # Camera vendor.camera.aux.packageblacklist=com.discord -# Codec2 switch -debug.media.codec2=2 - # Data persist.vendor.data.iwlan.enable=true persist.vendor.data.mode=concurrent