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
Oliver Scott
e385b0c2f3
Enable Restricted Networking Mode and allowlist INTERNET apps by default
...
* Handles fresh installs and upgrade scenarios
* Replaces network isolation feature
Change-Id: Ia35ba7cdc07ed9f49c09e2dd5275bfc233d9efe2
2022-01-05 00:44:55 +01: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
Luca Stefani
9ca1852af1
settings: Also check WRITE_SECURE_SETTINGS perm for System table
...
In M+ Google changed the permissions required to access the System table
and forced every caller to either hold the WRITE_SECURE_SETTINGS
permission or target pre M API
Change-Id: Ie4a4dd11e28b1caff1a6cd9be52f79b236f9271f
2021-12-23 00:47:02 +01:00
Michael Bestas
014cbda272
LineageSettings: Sort defaults based on table
...
* No functional changes, matches LineageDatabaseHelper
Change-Id: I8f4e2468974aa5d186a81ce76baba5a0b8d11c44
2021-11-07 00:44:33 +02:00
Michael Bestas
42b82632d6
LineageSettings: Remove unused defaults
...
Change-Id: Ibcf52069a4755a73be596453cc0ac791cfca8b1d
2021-11-07 00:44:33 +02: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
2d0905bd68
lineage-sdk: Remove all code that is marked as Deprecated
...
Change-Id: I04581d30a5b4ef9d176d17c7aa3baf4b58e8d2af
2021-11-06 12:52:00 +02:00
Luca Stefani
4068ca7095
lineage-sdk: Move apps to system_ext
...
Change-Id: Ifb4bda9d5399e31d26ec257fcc185b22635596df
2021-10-13 12:10:33 +02:00
Luca Stefani
5769464c12
Twelve bringup
...
Change-Id: I5e54d1763e5cd1dd8ae895f15d4d54887ced3133
2021-10-13 12:10:32 +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
Bruno Martins
1bc4dc52ca
LineageSettingsProvider: Allow overriding volume panel default location
...
Change-Id: Iad500afd0e4f0d65aed9905f9fd9fd8ada51fce9
2021-05-28 23:47:32 +02:00
LuK1337
56e1fbec1b
LineageSettingsProvider: Make lockscreen visualizer off by default
...
Change-Id: Ia7a3ddc32d189c53bca5aad8989d75636da7bdb4
2020-11-20 16:31:53 +01:00
LuK1337
9104aee9cd
LineageSettingsProvider: Migrate keyboard/button backlight to 0.0f -> 1.0f range
...
Change-Id: I42123b2cc2acde35c5db9087f478be5adc63b3ec
2020-10-05 20:35:53 +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
Sam Mortimer
fdf52b5ed0
lineage-sdk: Run bpfix
...
* Run bpfix -w .
Change-Id: I72bf80791a5053de06e5472b3d6fccb3d6b0ed55
2020-09-15 00:01:31 +02:00
Sam Mortimer
93abc79d05
lineage-sdk: use platform_apis for LineageSettingsProvider
...
* Fixes compile error:
lineage-sdk/packages/LineageSettingsProvider/Android.bp:17:1: module "LineageSettingsProvider" variant "android_common": platform_apis: platform_apis must be true when sdk_version is empty.
Change-Id: I3024ef46e729fea6f85ed9e84acf8ab5a9f05cb1
2020-09-14 22:07:11 +02:00
Michael Bestas
abce3bd2d5
LineageSettingsProvider: Add privapp permissions xml
...
Change-Id: Ic3b263a94b9269a478c162cd01073870e518df94
2020-05-06 21:39:59 +03:00
Michael Bestas
8bd3a0cbf7
Automatic translation import
...
Change-Id: I907c2c99ffee9b9a24c2bbafc1b1ad29c145f092
2020-04-23 16:46:09 +03:00
Chippa-a
5802c11140
lineage-sdk: Update path for custom charging sound
...
Audio files were moved to /product on Android 10.
Moreover, align with AOSP and use the wireless sound
for wired usecase too.
In order to perform upgrade properly, handle the migration
for custom charging sound setting.
Change-Id: Ifb2085e3f56d777091d66544a72cdd75c843fb56
2020-04-21 15:05:56 +01:00
Michael Bestas
a693b1e74a
Automatic translation import
...
Change-Id: I83a67e766b76c8e68bc719ef8ef41c7c22bf14ae
2020-03-30 20:27:55 +03:00
Sam Mortimer
507605002f
lineage-sdk: Bump PREF_HAS_MIGRATED_LINEAGE_SETTINGS for 17.0
...
Change-Id: Ia88d36533c0b0a2dd8ca18e93de5d03441dd8092
2019-11-15 00:24:18 +01:00
Sam Mortimer
3d25e8b3f7
lineage-sdk: Fix LineageSettingsProvider tests
...
* Fix bp and manifest to work with AndroidJUnitRunner.
* Remove broken tests (we no longer intercept in fw/b
settings provider and QS_USE_MAIN_TILES was removed).
* Tests pass when executed using:
adb shell am instrument org.lineageos.lineagesettings.tests/androidx.test.runner.AndroidJUnitRunner
(see README.md for more info)
Change-Id: I3fcf4885c61106f43e99847293220afee78e2f6a
2019-09-20 16:44:37 -07:00
Sam Mortimer
7e03d078bc
lineage-sdk: Add call methods for list and delete to our settings provider
...
To match changes in fw/b settings provider
Change-Id: Ie4683fe29b9109091d0ebd4910d31b7b4c714daa
2019-09-19 22:08:52 -07:00
LuK1337
e530d7a126
lineage-sdk: Clean up imports
...
Change-Id: Ie14853382ebefd42fdf827e2999a2a2a6d0a1cd1
2019-09-10 16:10:48 -07:00
Sam Mortimer
3a06cbea25
lineage-sdk: Include authority in content provider calls
...
API changed here:
633a13e2fa (diff-944e798f679ef205433bd711345d06dcR75)
Fixes:
AndroidRuntime: Caused by: java.lang.SecurityException: The authority
unknown does not match the one of the contentProvider: lineagesettings
Change-Id: I5fe85fee777f919824e6a2ff78986e2d736e0267
2019-09-09 07:37:31 +02:00
Sam Mortimer
e8814c5f0b
lineage-sdk: Run bpfix on our Android.bp files
...
In particular, fixes packages/LineageSettingsProvider/tests/Android.bp
which otherwise results in errors about unknown properties tags
and instrumentation_for.
Change-Id: I1d44fce77765a77ed6f3c23763f439a216eaefda
2019-09-09 07:32:54 +02:00
Sam Mortimer
3533d385d9
lineage-sdk: Migrate to androidx
...
* Migrate from support library to androidx
* Various improvements and cleanup by @bgcngm
Change-Id: I10bbf5056125e8309f344c3eb18cc628bd7ec34e
2019-09-09 07:09:59 +02:00
Michael Bestas
9b69fd9c0c
Automatic translation import
...
Change-Id: Iaab92105e9b37bcf015ba07362cc6fbd14047d8a
2019-08-25 20:36:37 +02:00
Michael Bestas
2250c78241
lineage-sdk: Correct default value of charging sounds
...
* It is enabled by default on Pie
Change-Id: Ia6faeee4d41c088d057fe1719f32d70f7fa1b099
2019-08-19 18:33:07 +02:00
Martincz Gao
92bd1871b6
lineage-sdk: Use AOSP default ringtone for power notification
...
Change-Id: I5b9aa82f23d404ea4372658671608b106600733f
2019-08-19 18:32:55 +02:00
Michael Bestas
10e0e87158
Automatic translation import
...
Change-Id: I0aeca2cb7c42a517b92b6d6cae3856572b210a63
2019-08-04 16:22:27 +03:00
Michael Bestas
1c52f374a4
Automatic translation import
...
Change-Id: I2d6ab8ea3d829b91c1d147f2efe9249f7a6cd04b
2019-06-08 18:56:59 +03:00