From ed97aea10a01ee8840b2216b09a3b8691476b336 Mon Sep 17 00:00:00 2001 From: maxwen Date: Wed, 16 Dec 2020 23:34:35 +0900 Subject: [PATCH] [SQUASH] Cherish: Force custom doze brightness and pulse brightness configs [2/2] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Stallix: Forward port to 11 Signed-off-by: Hưng Phan --- res/values/cherish_strings.xml | 9 +++++ res/xml/cherish_settings_misc.xml | 28 +++++++++++++++ .../settings/fragments/MiscSettings.java | 36 ++++++++++++++++++- 3 files changed, 72 insertions(+), 1 deletion(-) diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index c90c4ee..77544c7 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -1186,4 +1186,13 @@ Fingerprint icon Choose your favorite fingerprint icon In order to add your own icon, select the top left icon and use the OnePlus 6T FP Customizer app to select the icon you want. + + + Doze Brightness Config + Force brightness values + Use custom brightness values instead of screen brightness + Ambient notification brightness + Set brightness to use when notifcations are shown + Ambient display brightness + Set brightness to use during ambient display on diff --git a/res/xml/cherish_settings_misc.xml b/res/xml/cherish_settings_misc.xml index dfd6b56..f71e330 100644 --- a/res/xml/cherish_settings_misc.xml +++ b/res/xml/cherish_settings_misc.xml @@ -41,6 +41,34 @@ android:title="@string/gaming_mode_title" android:summary="@string/gaming_mode_summary" android:defaultValue="false" /> + + + + + + + + + + +