commit | a713e602efdea733351ece6d36f70ed355732ec9 | [log] [tgz] |
---|---|---|
author | Sam Mortimer <sam@mortimer.me.uk> | Thu Aug 09 11:10:44 2018 -0700 |
committer | Bruno Martins <bgcngm@gmail.com> | Wed Aug 29 09:15:38 2018 +0200 |
tree | c4b68e8a22a591787d0475a80c945ff389253795 | |
parent | dee32583568b2b9fbd085fd4479d5e62ece72c47 [diff] |
lineage-sdk: Use PreferenceDataStore for lineage-sdk preferences Replaces the need for: https://github.com/LineageOS/android_frameworks_support/commit/32e67e60201feee32b5af8ef4bb66c98292cd3b7 *) frameworks/support are now built with gradle and are included as prebuilts. *) API level 26 (8.0) introduced PreferenceDataStorage which can be used to implement what we need without touching the support library. Change-Id: Ide3417019ccf8bde5dca3b2aec3d2075e7c8b597
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.