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
* Part of the new iconset made by Asher Simonds
Includes
* LineageSettingsProvider
* LineageOS System
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: Ia3241f19e4e3e8ad8ed7688baf6a7dab7c0d3c0e
There's no need to have our own settings for this when we can simply
override the existing AOSP ones.
Change-Id: I84e1f7286cd6b4ee68c62f17ad104c76031ee0ff
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
* 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
* 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
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
* 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
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
In particular, fixes packages/LineageSettingsProvider/tests/Android.bp
which otherwise results in errors about unknown properties tags
and instrumentation_for.
Change-Id: I1d44fce77765a77ed6f3c23763f439a216eaefda
* Handle the migration for old settings and default
to Android's stock battery style.
* Hiding battery icon is now achieved using icon blacklist
via system tuner settings.
Change-Id: Ie41d71c774a34abe225e2c0a6a0a9fd4316189cd
* It was moved from Global to System but no migration was in place
to handle upgrades from previous versions.
Change-Id: If76243b0224dbc0138cf3c5dbc8aaeefa69f06a4