Commit graph

13 commits

Author SHA1 Message Date
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
nazunamoe
953661eb64
sdm660-common: Update korean translations 2021-03-24 13:14:24 +06:00
clarencelol
3820498cd4
sdm660-common: Android.mk -> Android.bp
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-02 23:47:30 +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
0be032e211
sdm660-common: DeviceSettings: Set correct symbol in DreamManager
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +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
13c782153e
sdm660-common: DeviceSettings/Doze: Update Translations
Translated by:
* Rizky (Xtprion) - Indonesian
* Vitaliy Kovel (Vitaliykovel777) - Russian
* Marek Prachnár - Slovak
* Lucas Almeida (Luxced) - Brazilian Portuguese

Co-authored-by: Vitaliykovel777 <vitaliykovel@gmail.com>
Co-authored-by: Xtprion <ksc.kybam@gmail.com>
Co-authored-by: Luxced <dekaps@outlook.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
6892aefb4a
sdm660-common: DeviceSettings: Fix tint according to theme 2020-12-09 09:52:25 +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