From 3a08fdd70fdf7a99fd3be810aa1fcaa9d6b04604 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Sat, 17 Aug 2024 12:22:07 +0530 Subject: [PATCH] sm6150-common: Move wide display prop to system.prop * Vendor partition is RO and prop cannot be changed there to disable wide color gamut. Change-Id: Ie5d90bc608f428c2be11d5159aaec98a6cdfbd03 Signed-off-by: Pranav Vashi Signed-off-by: therealmharc --- system.prop | 3 +++ vendor.prop | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/system.prop b/system.prop index d4b30d3..75e28c5 100644 --- a/system.prop +++ b/system.prop @@ -7,6 +7,9 @@ vendor.camera.aux.packagelist=com.android.camera,org.lineageos.aperture,org.line # CNE persist.vendor.cne.feature=1 +# Display +ro.surface_flinger.has_wide_color_display=true + # FUSE persist.sys.fuse.passthrough.enable=true diff --git a/vendor.prop b/vendor.prop index 055da43..6d5d51e 100644 --- a/vendor.prop +++ b/vendor.prop @@ -156,7 +156,6 @@ ro.hardware.vulkan=adreno ro.opengles.version=196610 ro.surface_flinger.enable_frame_rate_override=false ro.surface_flinger.force_hwc_copy_for_virtual_displays=true -ro.surface_flinger.has_wide_color_display=true ro.surface_flinger.has_HDR_display=true ro.surface_flinger.max_frame_buffer_acquired_buffers=3 ro.surface_flinger.max_virtual_display_dimension=4096