From a22c9e0c2ff8b6524a95968b4ffc6bb17a384705 Mon Sep 17 00:00:00 2001 From: pix106 Date: Fri, 25 Aug 2023 15:54:18 +0200 Subject: [PATCH] sdm660-common: DeviceSettings: add a burn-in protection profile, for lavender * previously, these background cgroups running freely with uclamp unset * now set the max cpu utility for these cgroups, following pixel tablet, but extended a bit as sdm660 is weaker --- DeviceSettings/res/values/arrays.xml | 2 ++ DeviceSettings/res/values/strings.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/DeviceSettings/res/values/arrays.xml b/DeviceSettings/res/values/arrays.xml index add16e47..d28ee528 100644 --- a/DeviceSettings/res/values/arrays.xml +++ b/DeviceSettings/res/values/arrays.xml @@ -113,6 +113,7 @@ @string/preset_default + @string/preset_burnin_lavender @string/preset_version_1 @string/preset_version_2 @string/preset_version_3 @@ -128,6 +129,7 @@ 237 237 237 35 33 127 127 0 + 230 230 230 35 35 127 127 0 237 237 237 35 40 127 127 0 250 250 235 35 27 112 132 1520 240 240 240 35 33 127 127 0 diff --git a/DeviceSettings/res/values/strings.xml b/DeviceSettings/res/values/strings.xml index d5ed6175..c82ddc7e 100644 --- a/DeviceSettings/res/values/strings.xml +++ b/DeviceSettings/res/values/strings.xml @@ -66,6 +66,7 @@ Select Preset Default + Burn-in protection (lavender) Version 1 Version 2 Version 3