From 13069beb3adcbc5c3ad483c8a95c390fa22e31d4 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Wed, 7 Oct 2020 14:40:19 +0100 Subject: [PATCH] sdk: Move to new button and keyboard brightness configs For as strange as it may be, so far the visibility of the features depended on the default value of config_{button,keyboard}BrightnessSettingDefaultFloat. This was nonsense, because it would force everyone to overlay that default with a value of 0.0, just to make the unsupported feature go away. Change-Id: If605238bf30642db057b06b03224d9a8b4451f12 --- lineage/res/res/values/config.xml | 14 ++++++++++++-- lineage/res/res/values/symbols.xml | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/lineage/res/res/values/config.xml b/lineage/res/res/values/config.xml index 93cde55e..cccc7b80 100644 --- a/lineage/res/res/values/config.xml +++ b/lineage/res/res/values/config.xml @@ -248,9 +248,19 @@ before setting power profiles on boot. --> false - - false + + 0 1.0 + + + 0 1.0 - + +