Commit graph

34 commits

Author SHA1 Message Date
FirePower36v
8b8f7b73e8 sdm660-common: DeviceSettings: Italian translation
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-12 21:31:48 +02:00
pix106
ce09f0e3af sdm660-common: DeviceSettings: Adapt vibration control to QTI Haptics
* needs kernel support
2022-07-29 13:48:08 +02:00
Adithya R
a0e05eec07 sdm660-common: DeviceSettings: Update clear speaker audio from MIUI 12
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-19 21:37:31 +02: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
Martin Štrobl
34d5a49885 sdm660-common: DeviceSettings: Adapt Clear Speaker for A12
Signed-off-by: Martin Štrobl <recordyletsplays@gmail.com>
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
Vitorgl2003
279f3c1659 sdm660-common: DeviceSettings: Adjust FPS Overlay
Lets adjust fps overlay place statment to get better integration on display.

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:39:56 +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
Murtaza@Piplod
0ac2261ee8 sdm660-common: DeviceSettings: Make icon color adaptive
Change-Id: I72357f8698a58d6ea8cca75c580ea2779ccd46ca
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
pix106
b89640e5b4 xiaomi-sdm660: DeviceSettings: add earpiece gain french translation, fix other gain translations
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
pix106
c68392aaf2 sdm660-common: DeviceSettings: fix icon color in dark/light mode
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
SakilMondal
470c43471e sdm660-common: DeviceSettings: Adapt icon to Android 12 settings dashboard
Change-Id: I322a9f72081e41495c801d118eedfa2b66d7d46c
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
SakilMondal
b8e6a665dc sdm660-common: DeviceSettings: Set android:exported to true
* Needed when targetting SDK 31
 * Reference:
  https://developer.android.com/about/versions/12/behavior-changes-12#exported

Change-Id: I71fed10c922e25743533af4dade0194cc47ab12f
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
karthik558
55a1e931dc sdm660-common: DeviceSettings: Move DeviceSettings from settings to system page
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: Ia6ad959219a0ceb515934e34b0a69b29666d9c48
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
clarencelol
4bcc77731e sdm660-common: DeviceSettings: add targetSdkVersion
* Else it wont install
* Reference: 4729219b1c

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
chrisw444
d645cc4e2b sdm660-common: DeviceSettings: FPS Info: Redesign FPS Info 2021-11-13 11:31:51 +01:00
StyloGey
cf39246739 sdm660-common: DeviceSettings: Change settings icon to MI logo
Signed-off-by: Logan <athuldineshan5@gmail.com>
Signed-off-by: K A R T H I K <karthik.lal558@gmail.com>
2021-11-13 11:31:51 +01:00
OdSazib
a81f0b99a0
sdm660-common: DeviceSettings: Update notification LED path for K4.19
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I063a776c16dffadf73d7f12f97995f6fad85d57c
2021-07-22 13:21:25 +06: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
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