commit | e7008a222e17d4868e74bd8758ccf842852df389 | [log] [tgz] |
---|---|---|
author | Sam Mortimer <sam@mortimer.me.uk> | Thu Sep 14 17:03:06 2017 -0700 |
committer | Dan Pasanen <dan.pasanen@gmail.com> | Sat Jan 27 13:25:35 2018 +0000 |
tree | 2625249b9d7a527b0e991c9fb26481e897000da0 | |
parent | 22e88073d7a3f8c8c73e813187cdac1e31b4bf0a [diff] |
LineageSettingsProvider: Support migration from cmsettings *) Migrate database from cmsettings.db to lineagesettings.db *) Remove old CMSettingsProvider.xml shared_prefs. *) Remove the code to disable the PreBootReceiver component. PackageManager is not yet ready for component lookups when LineageSettings is called during fw/b service startups. However, the preboot intent is only sent when the build fingerprint changes so disabling it doesn't really buy us anything. We also track and check migration state in sharedPrefs anyway. Change-Id: I636f8315ce8a36f6d223d6a5accfe11c40ef9570
The Platform SDK provides a set of APIs that give you easy access to a variety of different features within LineageOS. The SDK exposes APIs and system level framework access in the Android framework that aren't available in any other distribution.
You can either download from prebuilts hosted on github or pull directly via Gradle.
Our stable releases are mirrored in Maven Central, and you can fetch the current release by setting your build.gradle
dependencies to
dependencies { compile 'org.lineageos:platform.sdk:5.+' }
Within build.gradle
make sure your repositories
list sonatype OSS repos for snapshots
repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } }
You can target the future
or development
branch by setting your dependencies
for 6.0-SNAPSHOT
dependencies { compile 'org.lineageos:platform.sdk:6.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.