From bb4f7c3efaae76627d3a4a827a208fbc24c81427 Mon Sep 17 00:00:00 2001 From: Gil Date: Tue, 24 Dec 2019 18:45:02 +0800 Subject: [PATCH] sm8350-common: 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 | 37 +++++++++++++++++++ vendor.prop | 3 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index e2e5887..40b8086 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -301,4 +301,41 @@ true + + + + 0 + 1 + 2 + 3 + + + + 2 + + + + 0 + 1 + 2 + 3 + + + 0 + 0 + 0 + 9 + diff --git a/vendor.prop b/vendor.prop index ff4c723..12c11f1 100644 --- a/vendor.prop +++ b/vendor.prop @@ -159,8 +159,9 @@ debug.sf.high_fps_late_sf_phase_offset_ns=-4000000 debug.sf.hw=0 debug.sf.latch_unsignaled=1 debug.sf.set_idle_timer_ms=3000 -persist.sys.sf.color_mode=0 +persist.sys.sf.color_mode=9 persist.sys.sf.color_saturation=1.0 +persist.sys.sf.native_mode=2 ro.gfx.driver.1=com.qualcomm.qti.gpudrivers.lahaina.api30 ro.hardware.egl=adreno ro.hardware.vulkan=adreno