From 326c047131234f5b51638f5879b2b9ee13077858 Mon Sep 17 00:00:00 2001 From: LibXZR Date: Mon, 4 Jul 2022 21:15:45 +0200 Subject: [PATCH] Cherish: Add strict standby policy Change-Id: I8a8b86dba5ff5aa6a31106af5f93a250de76e91f MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hưng Phan --- res/values/cherish_strings.xml | 4 ++++ res/xml/cherish_settings_misc.xml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index d498f6c..e1a3e74 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -860,4 +860,8 @@ Transparency of media artwork Just kidding! providing logs helps us look like professional programmers err i mean trace the bugs that users reports. Bug Reporting Procedure + + + Strict standby policy + When dismissing from recents, this will force stop apps with restricted battery usage and impose stronger restrictions to them. Also, all app standby restrictions will be imposed even when device is charging. diff --git a/res/xml/cherish_settings_misc.xml b/res/xml/cherish_settings_misc.xml index 1c0e3f4..1e24f3f 100644 --- a/res/xml/cherish_settings_misc.xml +++ b/res/xml/cherish_settings_misc.xml @@ -34,6 +34,12 @@ android:key="pm_downgrade_allowed" android:title="@string/laboratory_app_downgrade_title" android:summary="@string/laboratory_app_downgrade_summary" + android:defaultValue="false"/> + +