Commit Graph

18 Commits

Author SHA1 Message Date
Arian
0ceaa3e801 sm6150-common: parts: Get rid of nested PreferenceCategory
getPreferenceScreen().findPreference() does not find preferences
within another PreferenceCategory. That breaks hidin the proximity
category on devices which do not support it.

Change-Id: Ic7d840df7a71905b5b697954a279de51d8d0408a
2023-05-18 14:49:19 +02:00
Arian
b4118d4fa2 Revert "sm6150-common: parts: Add support for zero brightness doze mode"
This reverts commit 8720bb5de8.

Change-Id: Icd29a7388a26f76fb5197805e715a464fceed70e
2022-07-13 21:08:38 +02:00
TheScarastic
ffc917c1e3 sm6150-common: parts: Adapt to S style
* Use Theme.SubSettingsBase for theme
 * Replace PreferenceActivity with CollapsingToolbarBaseActivity
 * Add Titles to prefernce screen
 * Remove onOptionsItemSelected and where neccessary move to activity

Change-Id: I25f6dce7cf202487898facfa66e57ced86a85594
2021-12-29 10:13:09 +00:00
Arian
18ee1a3486
sm6150-common: parts: Rename doze brightness to always on brightness
Change-Id: I0950ee3d5b4bae6ada1a8defcd6a13c20ae222a9
2021-07-12 18:26:36 +02:00
Arian
8720bb5de8
sm6150-common: parts: Add support for zero brightness doze mode
Change-Id: I027f7d1b3787b5b7140315ca6dced19a1f93361c
2021-07-03 21:23:37 +02:00
Arian
727405d31d
sm6150-common: parts: Implement doze modes and auto brightness
Change-Id: I03888d1997b09cb539952dfed935a7ace5e3444c
2021-07-03 21:23:14 +02:00
Arian
93ca9d0fe5
sm6150-common: parts: Move doze gestures into a preference category
Change-Id: I9ab73bcc8c590e6f93106922ecf4830f558ffcb3
2021-07-03 20:40:00 +02:00
Arian
302ce901c0
sm6150-common: Strip popupcamera from parts
Change-Id: I379111b22be9062ee797979960feb3087299cffa
2021-04-25 15:23:51 +02:00
Bruno Martins
01ac282586
sm6150-common: parts: Use all shared resources from devicesettings
Change-Id: Icd7f381c574ea36eb4d797cefd60ba9f1a0941bd
2021-04-25 15:18:41 +02:00
Arian
1db9129db8
davinci: parts: Allow to wake the screen instead of pulsing
Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I1e74f8eafa51843e77d2d8c514c646a4494327cd
2020-11-28 18:12:03 +01:00
Arian
a5fe3b11a6
davinci: parts: Always show the warning dialog
Change-Id: I979cc479ee928edf0e203489264df340326fbf5b
2020-11-28 18:12:03 +01:00
Arian
d738bb5729
davinci: parts: Add a warning dialog for manual calibrations
Change-Id: Id764e1cbe1a8c535c0039938097465d9a0dcd02b
2020-11-28 18:12:03 +01:00
Arian
cf282db685
davinci: parts: Add a setting to calibrate the motor
Change-Id: I9f76124759bf8497b5cd72293b5c36f85b4d1787
2020-11-28 18:12:03 +01:00
jhenrique09
027a842a58
davinci: parts: Implement popup motor calibration
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: If1f6c757cbf521fd27f7124284f40ea602f53ba8
2020-11-28 18:12:03 +01:00
Arian
3df219168d
davinci: parts: Add icons for popup settings
Change-Id: I30dffa4f9e91d9b76a1d8daefd1da8449bac19bc
2020-08-05 14:03:31 +02:00
jhenrique09
65c44dd66e
davinci: parts: Add popup camera sound effects and LED toggle
Change-Id: Iaf66650ae68d2680fa0c9b933f2c4e634bc21e74
2020-08-05 14:03:31 +02:00
arian
5d15a19de5
davinci: parts: Add icons for doze
Change-Id: Ibbb18065f97ed6f8f5376752495255aeafe1db82
2020-08-05 14:03:31 +02:00
Arian
8b5675114b
davinci: parts: Import from xiaomi_sdm845-common
e261035d91/parts

Change-Id: I442f48780ca020f3e420ee4ccaf8ac07b05457cb
2020-08-05 14:03:31 +02:00