mt6785-common: Enable LiveDisplay and Night light
* It doesn't flicker anymore in RealmeUI-2.0 firmware
Change-Id: I2294438331f92580d9ea78664646c05e4aa8f680
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 7c820c5..57bf235 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -45,6 +45,9 @@
<!-- Is the device capable of hot swapping an ICC Card -->
<bool name="config_hotswapCapable">true</bool>
+ <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently in hardware. -->
+ <bool name="config_setColorTransformAccelerated">true</bool>
+
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
autodetected from the Configuration. -->
<bool name="config_showNavigationBar">true</bool>
diff --git a/overlay/lineage-sdk/lineage/res/res/values/config.xml b/overlay/lineage-sdk/lineage/res/res/values/config.xml
index 0eba119..a9a10b4 100644
--- a/overlay/lineage-sdk/lineage/res/res/values/config.xml
+++ b/overlay/lineage-sdk/lineage/res/res/values/config.xml
@@ -35,8 +35,4 @@
<item>restart_bootloader</item>
<item>restart_fastboot</item>
</string-array>
-
- <!--Disable LiveDisplay -->
- <integer name="config_defaultLiveDisplayMode">0</integer>
- <bool name="config_enableLiveDisplay">false</bool>
</resources>