From b612c65f72192a668dc1fbc59356b4912272d5e3 Mon Sep 17 00:00:00 2001 From: Gil Date: Tue, 24 Dec 2019 18:45:02 +0800 Subject: [PATCH] sm6150-common: overlay: [Display] Enable adaptive color mode Enable Adaptive color mode setting. Bug: 143513730 Test: Boot test and measure the adaptive color value Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2 --- .../base/core/res/res/values/config.xml | 25 +++++++++++++++++++ vendor.prop | 6 +++++ 2 files changed, 31 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 5eb4b36..f3c4c51 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -310,6 +310,7 @@ 0 1 2 + 3 2 + + + 0 + 1 + 2 + 3 + + + 0 + 0 + 0 + 9 + + 0 diff --git a/vendor.prop b/vendor.prop index 8314067..1d51edb 100644 --- a/vendor.prop +++ b/vendor.prop @@ -142,6 +142,12 @@ vendor.display.enable_default_color_mode=1 vendor.display.enable_null_display=0 vendor.display.enable_optimize_refresh=1 vendor.gralloc.disable_ubwc=0 +vendor.display.qdcm.mode_combine=1 + +# Display - Set color mode to Adaptive by default +persist.sys.sf.color_saturation=1.0 +persist.sys.sf.native_mode=2 +persist.sys.sf.color_mode=9 # FRP ro.frp.pst=/dev/block/bootdevice/by-name/frp