From 45d3b655500ce8f8a00030d187513d14f449f964 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 9 Dec 2021 17:22:58 +0800 Subject: [PATCH] Create initial config.xml Create config.xml to support device suspend when screen off due to p-sensor and enable adaptive brightness. A follow up patch may be needed after tuning the auto brightness table. Bug: 208528546 Test: brightness and adaptive brightness manual test Change-Id: Ie559cbb2d656d4c5d46d28e200f44d27d2e037a6 --- .../base/core/res/res/values/config.xml | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 cheetah/overlay/frameworks/base/core/res/res/values/config.xml diff --git a/cheetah/overlay/frameworks/base/core/res/res/values/config.xml b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..62fe42a --- /dev/null +++ b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,114 @@ + + + + + + true + + + true + + + 6 + + + 0.0 + + + 1.0 + + + 0.17429718 + + + + 1 + 2 + 3 + 4 + 8 + 12 + 20 + 33 + 55 + 90 + 148 + 245 + 403 + 665 + 1097 + 1808 + 2981 + 5000 + 10000 + 20000 + + + + + 5.139055 + 9.962018965 + 18.34822964 + 21.55068128 + 24.0167788 + 30.62162162 + 35.09486396 + 41.2249643 + 47.6760716 + 55.73002427 + 66.24126116 + 79.67614115 + 98.04727274 + 125.1221991 + 161.6875093 + 208.4885553 + 264.8221315 + 327.8974352 + 401.1676739 + 750.0 + 1100.0 + +