From 6234208f5f2f3ea043960089f636e1ef963e5a69 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Mon, 27 Jun 2022 22:24:41 -0300 Subject: veux: overlay: Add support for doze auto brightness - Based on observing it's values, xiaomi.sensor.aod reports the following events: 3.0: Dark environment 4.0: Bright environment 5.0: Switched from bright to dark environment 3.0 does not seem to be triggered anymore after bright environment has been reported. - Enable brightness buckets in doze to disable animation between the brightness levels. --- .../SystemUIOverlayVeux/res/values/config.xml | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'rro_overlays/SystemUIOverlayVeux/res') diff --git a/rro_overlays/SystemUIOverlayVeux/res/values/config.xml b/rro_overlays/SystemUIOverlayVeux/res/values/config.xml index 221511c..339531d 100644 --- a/rro_overlays/SystemUIOverlayVeux/res/values/config.xml +++ b/rro_overlays/SystemUIOverlayVeux/res/values/config.xml @@ -53,5 +53,33 @@ true + + xiaomi.sensor.aod + + + + -1 + -1 + -1 + 1 + 255 + 1 + + + + + -1 + 0 + 0 + 0 + 0 + 0 + -- cgit v1.2.3