From 778a6b6ccda03ee9aac808257b5ac1db212811a7 Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 16 Nov 2021 12:08:22 +0530 Subject: [PATCH] sweet: overlay: Configure RefreshRate brightness thresholds The display uses different gamma curves for different refresh rates. It's hard for panel vendor to tune the curves to have exact same brightness for different refresh rate (lazy). To avoid flicker at darker environment, set threshold for 120Hz, so 120Hz will be default in such conditions. - values kanged from redfin, it works for our panel fine Change-Id: Ie2042aa5d7b114c006841e1cd86c3257653242be --- .../base/core/res/res/values/config.xml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 1a5fa21..a09508a 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -326,6 +326,28 @@ 21 + + + 10 + 14 + + + -1 + 20 + + + + 120 + 0