Commit graph

15 commits

Author SHA1 Message Date
pix106
a22c9e0c2f 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
2023-09-15 20:53:08 +02:00
Stylogey
5182be1445 sdm660-common: DeviceSettings: Add USB fastcharge toggle
Co-authored-by: ronaxdevil <pratabidya.007@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-23 19:32:12 +01:00
Adithya R
dc8feccf4f sdm660-common: DeviceSettings: Add headphones warning for clear speaker
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-19 21:37:31 +02:00
Omar Hamad
e283eaa87c sdm660-common: DeviceSettings: Implement Clear Speaker
Co-authored-by: Adithya R <radithya2002@gmail.com>
Co-authored-by: AshutoshSundresh <ashutoshsundresh@gmail.com>

Conflicts:
	DeviceSettings/src/org/lineageos/settings/device/DeviceSettings.java

Conflicts:
	DeviceSettings/res/xml/preferences_xiaomi_parts.xml
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-19 21:37:31 +02:00
no1opensourcelover
7c6a0a04ee sdm660-common: DeviceSettings: Add More Dirac Presets
Presets Added: Balanced, Bass Reduction, Treble Reduction, Soft Bass, Soft Treble.

Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:39:56 +02:00
pix106
7f5c98e112 sdm660-common: Bring back folio daemon and userspace hall switcher
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
TheScarastic
c778a3ca9f sdm660-common: DeviceSettings: Adapt to S style
Co-authored-by: pix106 <sbordenave@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
OdSazib
b8c814713d
sdm660-common: DeviceSettings: Add earpiece gain
- Requires kernel support

Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: If28b4dff421cbba5f17cd2ccfab02f2aa616a9f8
2021-07-22 13:21:03 +06:00
Omar Hamad
c455b70f97
sdm660-common: DeviceSettings: Nuke thermal settings
* Looks like there is too much thermal throttling even after selecting
   pefromance profile. Nuking it increases Geekbench score as well.
2021-05-18 05:04:04 +06:00
OdSazib
ef00e5f20b
sdm660-common: DeviceSettings: Import in-app Dirac
- Improve code with reference and split gain category

This reverts commits
- 471da74
- de7135d
- f6c011d

All credit goes to Stylog, this is just revert commits with few improvement

Co-authored-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 02:24:09 +06:00
OdSazib
de7135d040
sdm660-common: DeviceSettings: Access dirac from device-settings
- Split preferences from audio category to avoid removing whole category upon nonexsting single preference
- Previously there were only headphone and microphone gain which were from same kernel driver and it was logical
  to remove the category when one of the preferences does not exist.
2021-04-02 02:42:13 +06:00
OdSazib
3a742e8c0b
sdm660-common: DeviceSettings: Fix null object reference of thermal
* also optimize code with references
2021-02-04 14:50:09 +06:00
OdSazib
2135c18643
sdm660-common: DeviceSettings: Drop userspace hall switcher
* The sensor works as it is, hence not needed anymore
2021-02-03 23:05:50 +06:00
OdSazib
3bc41ddf25
sdm660-common: strings: Add formatted="false" for multiple substitutions
* Either fix the position of the multiple substitution
* or add formatted="false" in non-positional localized string

Bug: error: multiple substitutions specified in non-positional format;

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
f2b7354ef6
sdm660-common: Tricking out device specific settings
* Rebrand to DeviceDoze
* Keep class for DeviceSettings

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00