Commit graph

8 commits

Author SHA1 Message Date
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
870343eb33
sdm660-common: DeviceSettings: Switch to SecureSettingSwitchPreference
* SharedPreference cannot be used untill device is unlocked
* This causes crashing the app at boot

Thanks to java gawd StYlOg for help me fixing this

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
Renamed from XiaomiParts/res/xml/preferences_xiaomi_parts.xml (Browse further)