commit | bd39ad8c077c5762813693e580dd126c9f58589e | [log] [tgz] |
---|---|---|
author | Bruno Martins <bgcngm@gmail.com> | Tue Apr 21 00:17:21 2020 +0100 |
committer | Bruno Martins <bgcngm@gmail.com> | Tue Apr 21 00:47:55 2020 +0100 |
tree | ad2bdeee8de140df235ac857fc6ba1acfc3deac7 | |
parent | f3b9b0c95d32bcba4e8853829482048f80d83699 [diff] |
profiles: Account for deprecated location API methods Settings.Secure#setLocationProviderEnabled is deprecated since API level 19. Change-Id: I7d1d13de3af100fb81d87e957acf89fb7f08cb7d
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.