Commit Graph

89 Commits

Author SHA1 Message Date
Pranav Vashi
80f34a2610 Allow value 3 for status bar quick pull down
Change-Id: I622f4029f508e1417487d2978e7ab5eeb9f88993
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-11-26 17:48:34 +09:00
LuK1337
e3790a355b sdk: Add lineagehealth IFastCharge interface support
Change-Id: I89eb3efbc79146b08684fa41f3c8d62ef2fb60c4
2025-08-16 20:37:44 +02:00
Cosmin Tanislav
4c5cc9538b lineage-sdk: implement search button play/pause
Change-Id: I409e7633893dd94601fb67bb2cea35868f10af1e
2025-06-11 22:45:11 +03:00
Cosmin Tanislav
907bce40dd lineage-sdk: use single validator for hardware keys
Change-Id: Ifbc2c275e4b2270c87894a782a7b92cc84479788
2025-06-11 22:45:11 +03:00
Alexander Martinz
c8eeb1755d LineageSettings: fix api lint
Fix a typo and hide a validator, which was not hidden
by mistake.

```
lineage-sdk/sdk/src/java/lineageos/providers/LineageSettings.java:2776: warning: Field LineageSettings.Secure.GESTURE_BACK_EXCLUDE_TOP_VALIDATOR references hidden type lineageos.providers.LineageSettings.Validator. (ErrorWhenNew) [HiddenT
ypeParameter]
lineage-sdk/sdk/src/java/lineageos/providers/LineageSettings.java:2776: error: Class lineageos.providers.LineageSettings.Validator is hidden but was referenced (in field type) from public field lineageos.providers.LineageSettings.Secure.G
ESTURE_BACK_EXCLUDE_TOP_VALIDATOR [ReferencesHidden]
lineage-sdk/sdk/src/java/lineageos/providers/LineageSettings.java:2942: warning: Field LineageSettings.Secure.VOLUME_PANEL_ON_LEFT_VALIDATOR references hidden type lineageos.providers.LineageSettings.Validator. (ErrorWhenNew) [HiddenTypeP
arameter]
lineage-sdk/sdk/src/java/lineageos/providers/LineageSettings.java:2942: error: Class lineageos.providers.LineageSettings.Validator is hidden but was referenced (in field type) from public field lineageos.providers.LineageSettings.Secure.V
OLUME_PANEL_ON_LEFT_VALIDATOR [ReferencesHidden]
```

Change-Id: I71db41bc6f797d77fb281c989d9dcd7299036a25
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2025-05-26 18:12:39 +00:00
Michael Bestas
38be42ce0a sdk: Cleanup imports
find . -name "*.java" | xargs java -jar \
~/bin/google-java-format-1.25.2-all-deps.jar \
--aosp --fix-imports-only --replace

Change-Id: If39579285c13cecdb3592d8ccf0605b8030b340e
2025-03-23 12:06:59 +02:00
Aaron Kling
ce38f734e5 lineage-sdk: Add setting for atv two button mute
To allow volume up and down to mute

Change-Id: Iccc119605292983bc50de39f59af45e59116a685
2025-02-14 19:16:35 +00:00
LuK1337
59c2643018 LineageSettingsProvider: Migrate tethering_allow_vpn_upstreams to AOSP
Change-Id: I1453d075f39c0e11a0fd056924d9ec5957928c26
2024-12-20 18:54:18 +02:00
Michael Bestas
5a577dc607 sdk: Make it REUSE compatible
Change-Id: Iba2bcaf5e677eafebc48c6aca3d3625f821d6e27
2024-11-07 13:28:42 +00:00
Bruno Martins
cbe38a2f2d LineageSettings: Delete status bar brightness control key
Change-Id: I3748a4ab56fc31e4c0614b84489c35e8beb15b55
2023-12-11 16:41:52 +00:00
Wolfram Liebchen
9bc61e26c8 Network traffic with automatic units [2/2]
A new network traffic display unit option "automatic" offers
a compact display of the network traffic by using at maximum
three digits and an abbreviated unit string.
Comes in handy for situations with reduced space in the
status bar.

Change-Id: Ib4d969924ad5a345b03540070e49a0473f343ad3
2023-11-09 20:50:12 +02:00
Michael Bestas
aa4306a860 Remove deprecated settings migration code
This was used for cm 12.1 to 13.0 migration.

Change-Id: I4a074b15ed54d7b64d7f14e66bd4d2036b09e4cb
2023-07-22 19:16:33 +03:00
Wolfram Liebchen
95e2d729c9 Network traffic with center cutout [2/3]
A new setting NETWORK_TRAFFIC_POSITION decides, if the traffic display
is at the traditional center position or right or left.

Change-Id: I768259696be1186cb1dd4630c2b35540529a7f67
2023-06-11 15:45:06 +02:00
Danny Trunk
738f26ef54 lineage-sdk: Add settings for charging control
Change-Id: Iba78705136d4b63cb0317b0826bf24c2d027a45b
2023-06-09 18:04:47 +02:00
Michael Bestas
dc0c1d8a5c Migrate FINGERPRINT_WAKE_UNLOCK to the new AOSP setting
Change-Id: If5ad35077cfa4fb222928e97db4d50b68a0567c3
2023-03-15 01:18:31 +02:00
Michael Bestas
938f8dfd57 Migrate berry_black_theme to Secure table
AOSP theme settings live in Secure table, let's do the same

Change-Id: I31eafeb940fe50cdde03e12cb3431f4f325d772b
2022-09-25 19:51:16 +02:00
althafvly
35ee5eb1e1 sdk: Add FINGERPRINT_WAKE_UNLOCK setting
Change-Id: I652afe3397e1b0f44877a4c24b491d0d8408502f
2022-08-08 18:38:24 +02:00
LuK1337
a3e5a256a3 sdk: Add ENABLE_TASKBAR setting
Change-Id: I5c3bc00f2c935f815dc822eca755e836abb764f1
2022-04-29 11:04:19 +02:00
Chirayu Desai
a97180fa58 Move trust usb setting to global, and drop keyguard from name
* We're expanding this to allow disabling usb devices always.

Change-Id: Ibdea983160ae88c3eb696540631facefc288b859
2022-03-24 14:46:11 +01:00
Ramii Ahmed
a7262011d4 Introduce High Touch Polling Rate feature
Change-Id: I6eb65e811f1759806aa89747328ee638c99a44f5
2022-03-19 10:09:50 +01:00
Luca Stefani
d787f12781 settings: Use proper locking
Change-Id: I0f2c30cb0bb324602738800a8ff81359fa484223
2022-03-07 22:42:53 +01:00
Luca Stefani
2e050a5c98 settings: Move one if check to else if
The map is always empty if the previous check was true

Change-Id: Id1f939d112789ab3c7da711636b40c8a4c23d507
2022-03-07 22:01:43 +01:00
Luca Stefani
ebaa32ef9f settings: Use Id from ContentResolver
Making this change allows to determine 
automatically the proper user ID depending on the
context used to create the resolver

Change-Id: I08021fa56856ef4792da780bca1c0e77526e72a6
2022-03-07 21:51:45 +01:00
Bruno Martins
9265e4085d sdk: Nuke perf profiles
Change-Id: Ibd32da7cb2feb8fa41bf9804f101167e4d12e33c
2022-01-30 22:33:24 +01:00
Cédric Bellegarde
c0fde5eacb lineage-sdk: Add support for clock auto-hiding
Change-Id: I9d05188289e334a99baeaa330fb869573e123ea6
2022-01-24 19:39:24 +00:00
Bruno Martins
3c27619fb3 LineageSettings: Remove long dead notification count settings
Change-Id: I4a19cdaf31283da398a46784c4ba5763beb8c658
2022-01-04 00:50:12 +00:00
Bruno Martins
ea5bec56fd LineageSettings: Deprecate charging sound settings in favor of AOSP ones
There's no need to have our own settings for this when we can simply
override the existing AOSP ones.

Change-Id: I84e1f7286cd6b4ee68c62f17ad104c76031ee0ff
2021-12-31 17:20:56 +01:00
Luca Stefani
9256c6841b settings: Allow validating Global settings
Change-Id: I7648e092b31fdf685ad01577834755cb631fde73
2021-12-23 00:48:11 +01:00
Michael Bestas
e9206cc3a3 LineageSettings: Remove "advanced_mode" setting
* This was a CyanogenMod feature that we never forward ported.

Change-Id: Idce22d57784132ff0676bce3e1dd55f9793c1a59
2021-11-07 00:44:32 +02:00
Michael Bestas
b1a4f1be15 lineage-sdk: Remove unused protected app/component code
Change-Id: Ie054c1da1381cd9ba0c10405ce50b5c727ad1987
2021-11-06 12:52:01 +02:00
Michael Bestas
eb64e79f86 lineage-sdk: Remove weather related code
* This has been untouched since 2016 and it depends on LockClock
  which has been dropped and was also untouched for years.
  There is no good weather provider without API restrictions,
  so just remove this dead code.

Change-Id: I6540006ce0d7339b7794b6ab207593afb161aa3d
2021-11-06 12:52:00 +02:00
Michael Bestas
b2dc2962cf LineageSettings: Remove leftover Dialer lookup settings
Change-Id: I99e375f37d20c5699aa12b98f5e1d6769a2b1f45
2021-11-06 12:52:00 +02:00
Michael Bestas
2d0905bd68 lineage-sdk: Remove all code that is marked as Deprecated
Change-Id: I04581d30a5b4ef9d176d17c7aa3baf4b58e8d2af
2021-11-06 12:52:00 +02:00
Luca Stefani
530d7e015d LineageSettings: Import Settings changes
This brings us inline with AOSP package

Change-Id: I21991f0a440e171506bebb3e922d0ef9fe5c4210
2021-10-13 12:10:33 +02:00
Luca Stefani
5769464c12 Twelve bringup
Change-Id: I5e54d1763e5cd1dd8ae895f15d4d54887ced3133
2021-10-13 12:10:32 +02:00
Eamon Powell
7a57f52199 fixup! lineage-sdk: Add preference keys for one shot auto-brightness
Fix typo in comments

Change-Id: I13b0673ef6b4b3ec501cfea2b5dbfe9b20df3833
2021-08-29 11:30:06 +10:00
Cédric Bellegarde
6e7936c0ca lineage-sdk: Add preference keys for one shot auto-brightness
Change-Id: Ifde39e542b078c40b2fd33e951b68fabef417921
2021-08-23 18:11:50 +02:00
Bruno Martins
1416383888 LineageSettings: Mark lookup features as deprecated
These are now handled directly in our Dialer app.

Change-Id: I8d1cd0963360a88be21fdda727725cdb7146723f
2021-06-06 00:20:35 +02:00
Gegham Zakaryan
8e4a978315 Revert "sdk: Deprecate POWER_MENU_ACTIONS"
This reverts commit d8742f0727.

Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com>
Change-Id: I4071297652a6cd0a47d6c642909b32f742e60781
2021-05-23 15:17:16 +02:00
LuK1337
feae6f7481 lineage-sdk: Mark DEVICE_HOSTNAME as deprecated and drop code using it
* AOSP feature is now in place, which uses device name
   as DHCP hostname.

Change-Id: I4adbaca2d980017e5cd81e200729f03b245c6a3e
2021-05-20 22:41:51 +02:00
LuK1337
7378e73713 lineage-sdk: Add KILL_APP button action
This partially reverts commit 9eca90278d.

Change-Id: I9bfc039540936e4dbd4313c8f368ce3e3e445290
2021-05-04 13:40:17 +02:00
LuK1337
44427ae3ef lineage-sdk: Add preference keys for back key long press customization
Change-Id: I8a5d80ef5f8aa238ad73ba034d275ea1094dffe9
2021-05-04 13:39:13 +02:00
LuK1337
122825fa60 lineage-sdk: Remove single hand mode enum values
Change-Id: I2865d57d5b6e49391898e8de06889b1a26c54970
2021-05-04 11:15:06 +02:00
Bruno Martins
c47d955826 BatteryLights: Add ability to turn off LED when fully charged
Change-Id: I01b8c753a1f92838462a797fd97b5f6a3c666158
2021-04-30 19:40:57 +02:00
Arian
5f3ded7d05 Introduce anti flicker mode in LiveDisplay
Change-Id: Iba7387ff16d463d087c9a38bced90b6c1bd503b1
2021-04-06 11:35:41 +02:00
Jesse Chan
e588c4aa83 Implement click to take partial screenshot [3/3]
Change-Id: I9de0cd4f1b793119a7dd45a95b040f70d6c151a6
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-11-11 00:10:00 +01:00
LuK1337
d8742f0727 sdk: Deprecate POWER_MENU_ACTIONS
Change-Id: I35b0d1123a427598e548cf865328a7c9423cbbca
2020-11-07 17:15:09 +01:00
Bruno Martins
af3c06c2b1 sdk: Mark ADB_NOTIFY and ADB_PORT settings as deprecated
Android 11 introduced Wireless Debugging, rendering our good old feature
redundant.

Change-Id: I7581fd79c5addad4542f392217365fa7e192528d
2020-10-12 18:01:36 +02:00
Bruno Martins
9eca90278d sdk: Remove "long-press back to kill app" feature
Change-Id: I3df4469beb53eeee070cdc486d02bb95001d7f53
2020-10-08 20:28:08 +01:00
LuK1337
1317cf2b12 LineageSettingsProvider: Make it compile again
* IContentProvider API now requires us to pass an attribution tag.

Change-Id: Ie991f71fb34717ab7d811ccb519a0d2d595df388
2020-09-15 10:11:35 +02:00