From 3427df5cfe5353123055d78b3f6caaf10829d8cd Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Tue, 14 Jan 2020 12:44:16 +0000 Subject: [PATCH] sm8350-common: overlay: Add support for doze auto brightness Based on observing it's values, xiaomi.sensor.aod reports the following events: 4.0: Bright environment 5.0: Dark environment Change-Id: Ie589066bd860a7fed3989092c21aee73686ecea4 Signed-off-by: Arian --- .../packages/SystemUI/res/values/config.xml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml index 2acc940..bc4c115 100644 --- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -25,4 +25,33 @@ false + + + xiaomi.sensor.aod + + + + -1 + -1 + -1 + -1 + 24 + 4 + + + + + -1 + 0 + 0 + 0 + 0 + 0 +