rmp22
6b4867d982
[BUGFIX] SelfRemovingPreference: set visibility at early stage
...
Change-Id: Ic23c4a78fa424b045d8f38b6b799339570a6fda0
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com >
2025-11-26 17:48:34 +09:00
someone5678
c88da61e92
LineageSettingsProvider: Apply monet to icon background
...
Change-Id: I3de8b753c8d67df2af2efecf964f2a0ac53bc49f
2025-11-26 17:48:34 +09:00
Pranav Vashi
bb57322336
Fix settings pref switch for multi-user
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2025-11-26 17:48:34 +09:00
Pranav Vashi
981cdd2b8e
Properly set default value for switch pref
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2025-11-26 17:48:34 +09:00
Pranav Vashi
e5b6f29a24
Try loading default setting value for switch
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2025-11-26 17:48:34 +09:00
Pranav Vashi
0bba37e75b
Set summary automatically if required
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2025-11-26 17:48:34 +09:00
Pranav Vashi
bca67f619e
Do not prevent boot on database downgrade
...
Change-Id: I6f91d5d9ccdc7029b2c8d763ddd142129bc78803
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
2025-11-26 17:48:34 +09:00
Pranav Vashi
b7382942d9
Ship as Evolution X based on LOS
...
* While LOS is base ROM, there are/will be additions over LOS.
Therefore, rebrand and ship it as Evolution X ROM.
Change-Id: I4c7b198d9cf4183d07025dbe821fd3f93985ed22
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: AnierinB <anierin@evolution-x.org >
2025-11-26 17:48:34 +09:00
Joey
0039a573ba
Revert "sdk: Get rid of lineageos.os.{Build,Concierge}"
...
This reverts commit b9be94a473 .
2025-11-26 17:48:30 +09:00
Bruno Martins
60d0477f66
LineagePreferenceLib: RIP DropDownPreference type
...
It no longer fits well in modern Settings UI.
Change-Id: I780009571b9bde2e7655a77c8d683f66225ab6ad
2025-11-23 12:15:38 +00:00
LineageOS Infra
f26071c25b
Automatic translation import
...
Change-Id: I12d83c872fee74d0500de86a772c3651672cffe6
2025-09-24 20:06:38 +00:00
LineageOS Infra
5f6ea17cbe
Automatic translation import
...
Change-Id: I6961c6888346996dadbf4aaf786fd6fa2c7b9171
2025-04-07 16:25:25 +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
LineageOS Infra
2772796326
Automatic translation import
...
Change-Id: Ib252621063045843d0a6d1655d98fe86f37b2725
2025-02-15 15:47:20 +00:00
Michael Bestas
b9be94a473
sdk: Get rid of lineageos.os.{Build,Concierge}
...
Change-Id: I7b781deb1330810caa193b822bcc02b9610e53b0
2025-02-10 18:13:48 +02:00
Michael W
28185f0f54
sdk: Call Handler()'s correct constructor
...
The constructor for Handler() without an explicit Looper is deprecated
Change-Id: I75caeed0d0abc6047b39f652dd241547ff56cf3b
2025-01-04 13:44:39 +01:00
LuK1337
59c2643018
LineageSettingsProvider: Migrate tethering_allow_vpn_upstreams to AOSP
...
Change-Id: I1453d075f39c0e11a0fd056924d9ec5957928c26
2024-12-20 18:54:18 +02:00
LineageOS Infra
eed35b8aad
Automatic translation import
...
Change-Id: I8902b6005532ade17489e89fa4b29104fb4bcd41
2024-11-16 06:48:07 +00:00
Michael Bestas
5a577dc607
sdk: Make it REUSE compatible
...
Change-Id: Iba2bcaf5e677eafebc48c6aca3d3625f821d6e27
2024-11-07 13:28:42 +00:00
Michael Bestas
5efaee2299
sdk: Remove SettingsProvider tests
...
Change-Id: I3abde5201b7d103b038f98c05fdf0026a7834ea8
2024-11-07 13:28:42 +00:00
Oliver Scott
f7c44fc818
Clear restricted networking mode allowlist
...
Replaced by POLICY_REJECT_ALL
Issue: calyxos#2192
Issue: calyxos#2637
Change-Id: I78ff47624e520f9a3fe492165544d93edbbe814d
2024-10-23 01:38:13 +03:00
Michael Bestas
baebbbf0d1
LineageSettingsProvider: Relocate loadRestrictedNetworkingModeSetting call
...
It shouldn't be in a SQLiteStatement block.
Change-Id: I342af1f9e52150bd87aa20701a7109db3fa6f2bb
2024-05-29 14:54:17 +03:00
LineageOS Infra
360dad610b
Automatic translation import
...
Change-Id: I5e3baf2c7a67a8c1ff0b007de1a94b51aada8825
2024-05-15 15:50:26 +00:00
Michael Bestas
360d9508c9
LineagePreferenceLib: Migrate to SwitchPreferenceCompat
...
Change-Id: Ice9f732065e4792fc73b7890cdd6b9a55475f518
2024-03-21 10:28:58 +02:00
Michael Bestas
691670d7bc
Revert "LineageSettingsProvider: Allow enabling lockscreen rotation by default"
...
This reverts commit 1a53318ab3 .
Change-Id: I886affb6949ca928b92b496116b9ad3d77827ed0
2024-02-21 17:07:38 +00:00
LineageOS Infra
6538e84b23
Automatic translation import
...
Change-Id: I6033402fd381bf001100db04934ffae0126d4318
2024-02-10 19:04:38 +00:00
Bruno Martins
e2d1d6a391
LineageSettingsProvider: Allow to set a default for QS brightness slider
...
Change-Id: Ie9003e2c14e7f5ba1b34cd7c3c7ab95a3c9501cf
2023-10-03 22:23:44 +01: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
Michael Bestas
d072074908
Partially revert "LineageSettingsProvider: Support migration from cmsettings"
...
The migration happened in lineage 15.1,
we only support direct upgrades from 17.1.
This partially reverts commit e7008a222e .
Change-Id: Ic2acd93565e21475ea6f896941107230d880e890
2023-07-22 18:46:54 +03:00
Michael Bestas
1a53318ab3
LineageSettingsProvider: Allow enabling lockscreen rotation by default
...
...and enable it by default for sw600dp
Change-Id: I0df4f0907591146a21d3da0e0d11e3213ad8767a
2023-07-20 17:28:53 +02:00
Michael Bestas
63769995c1
Drop < lineage-16.0 database migration support
...
It is only possible to upgrade from 17.1 to 20.0 directly,
let's just drop all the old migration steps.
Change-Id: I04ec638f3b7c75d53629c8fec5523a0ccc7eabb5
2023-07-13 16:19:43 +02:00
Chirayu Desai
7e5dade283
Change existing migrations to use new helper methods
...
* We usually shouldn't touch existing migrations,
they would have already ran for most (if not all) users,
and don't run for existing users since they start at
the latest version.
* However, we've recently discovered many issues with these
migrations, and past reported issues are now starting to make
sense (they can be explained by migration running over and over again)
* As such, let's fix this once and for all to make things clearer.
* We also tend to copy older migrations when writing soemthing new so it
should help having these done :)
Change-Id: Ic45efc823da7ea8a137e79b3769a9ca53c2f8667
2023-07-13 16:19:43 +02:00
Tommy Webb
1c5a5dd010
Add helper methods for reading and writing settings
...
Add new private methods readSetting, readIntegerSetting,
readLongSetting, writeSetting, and writeSettingIfNotPresent
to reduce boilerplate and potential for code errors.
Change-Id: I9872cc50db86056cdc1588741600b66ee9d40f9f
2023-07-13 16:19:15 +02:00
Tommy Webb
663a948c50
Do not use transactions when reading settings
...
There is no need to use database transactions to simply read settings.
We also were not setting the transaction as successful, which was
causing the outer transaction for the whole onUpgrade operation to be
rolled back, meaning that some devices would be stuck at old db
versions and perform repeated migration attempts on every boot.
Issue: calyxos#1290
Change-Id: Icefe994379152f9a3aa6c0c5b447cc55d5c4cf46
2023-07-12 14:27:42 +03:00
Chirayu Desai
173b6d8693
Migrate side FPS settings
...
* Really shouldn't have touched an existing migration before
* Anywho, let's change it back to what it was but make it compile
* Then, let's migrate that old setting to the new AOSP setting,
but flip it since it works differently.
Change-Id: I342d8c78aa8faeda5dcaafe9199deb51c570efd0
2023-07-12 14:27:38 +03:00
LineageOS Infra
eee2b70594
Automatic translation import
...
Change-Id: I54bfe88fe79f568e701e48c5d3ebb29fd1578ea6
2023-06-20 16:28:06 +00:00
Michael Bestas
bf6f48ceb3
Update LineageDatabaseHelper for 13 QPR3
...
Change-Id: Iea691957d02c181c6409b5fc918a1b04d37369a2
2023-06-14 20:30:17 +03:00
Luofan Chen
0e290483f3
sdk: Add requiresService attribute
...
Change-Id: I953444a53cd892d8e70941487709964fd671576a
2023-06-09 18:04:47 +02:00
LineageOS Infra
cd2c9124c7
Automatic translation import
...
Change-Id: Iba040a5e3a3283230dbe5cfaccc28275090dbf94
2023-06-01 12:49:27 +00:00
LineageOS Infra
528400a142
Automatic translation import
...
Change-Id: I6d7f4c50273d842d4eef721f5283a184b45293f1
2023-04-24 08:41:32 +00:00
Michael Bestas
9f63a522db
Fix FINGERPRINT_WAKE_UNLOCK migration for devices not supporting it
...
Change-Id: I81469da5a1696f7ff92ff11216ba0b98459a9bde
2023-03-20 02:37:31 +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
LuK1337
514848cd6d
sdk: Introduce LineagePreferenceLib
...
Because of some nested dependency breakage, we can no longer include
Android libraries in main SDK lib, therefore we are moving all
preference related code to a separate package that Settings/LineageParts
will depend on.
Change-Id: Iea379a580a08ea13f71e3503aa096ba0ed7e7cef
2022-08-30 15:56:54 +02:00
Michael Bestas
fd9f38394d
Automatic translation import
...
Change-Id: I57327e9ee6eebc60ec26f519f81cfbe648bcd193
2022-06-20 23:57:09 +03:00
Michael Bestas
88b323507b
Automatic translation import
...
Change-Id: I65e81dc7fdcdefd9d81d44a5302fcbb5bd2a317f
2022-05-10 21:58:12 +03:00
Asher Simonds
e727e72f16
lineage-sdk: Bring in the new icon
...
* Part of the new iconset made by Asher Simonds
Includes
* LineageSettingsProvider
* LineageOS System
Co-authored-by: Michael W <baddaemon87@gmail.com >
Change-Id: Ia3241f19e4e3e8ad8ed7688baf6a7dab7c0d3c0e
2022-04-06 23:14:42 +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
Oliver Scott
ca136deee2
Log failure to update DATABASE_VERSION
...
Change-Id: I7fc844acda3892cea68c1e9a44a89e87c997f789
2022-03-21 23:40:21 +01:00
Luca Stefani
b0d6dd92e8
sdk: s/UserHandle.USER_OWNER/UserHandle.USER_SYSTEM/g
...
USER_OWNER has been deprecated and replaced by USER_SYSTEM
Change-Id: I93b057a52dcdcb3760b7c2139bea2e25a624a78f
2022-03-07 22:42:53 +01:00