From bef2ef0ffa2f756d1fc3aa7d9853070593a477a0 Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Tue, 19 Jul 2022 16:48:44 +0200 Subject: [PATCH] sm7125: Allow device to transition colors efficiently Simon1511: Remove reading mode from livedisplay since setting config_setColorTransformAccelerated enables it in livedisplay Change-Id: I790fdcb7c2dfd0e7ffbcd32345b2b1120c0c9d94 --- livedisplay/DisplayModes.cpp | 1 - overlay/frameworks/base/core/res/res/values/config.xml | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/livedisplay/DisplayModes.cpp b/livedisplay/DisplayModes.cpp index a4661d7..12af3dc 100644 --- a/livedisplay/DisplayModes.cpp +++ b/livedisplay/DisplayModes.cpp @@ -41,7 +41,6 @@ const std::map DisplayModes::kModeMap = { {2, "Natural"}, {3, "Cinema"}, {4, "Adaptive"}, - {5, "Reading"}, // clang-format on }; diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 9221ceb..d37c997 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -1355,8 +1355,7 @@ 4 - - true + + true