lineage: res: Introduce button/keyboard backlight config overlays

Change-Id: I55214f39aefda1bdcbc2fa7aa5845812a68f94af
This commit is contained in:
Bruno Martins
2020-10-05 17:07:55 +01:00
parent fcfcf5d47d
commit 05473f5a8d
2 changed files with 11 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
2017-2018 The LineageOS Project
2017-2020 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -247,4 +247,9 @@
<!-- Whether device needs to wait for Qualcomm MPCTL service to start
before setting power profiles on boot. -->
<bool name="config_waitForMpctlOnBoot">false</bool>
<!-- Button and keyboard backlight -->
<bool name="config_deviceHasVariableButtonBrightness">false</bool>
<integer name="config_buttonBrightnessSettingDefault">255</dimen>
<integer name="config_keyboardBrightnessSettingDefault">255</dimen>
</resources>

View File

@@ -170,4 +170,9 @@
<!-- Notch -->
<java-symbol type="bool" name="config_haveNotch" />
<!-- Button and keyboard backlight -->
<java-symbol type="bool" name="config_deviceHasVariableButtonBrightness" />
<java-symbol type="integer" name="config_buttonBrightnessSettingDefault" />
<java-symbol type="integer" name="config_keyboardBrightnessSettingDefault" />
</resources>