commit | 082c3c6b8668ab240e3f2777bd2c953abe0263fb | [log] [tgz] |
---|---|---|
author | Sam Mortimer <sam@mortimer.me.uk> | Sun May 03 11:04:44 2020 -0700 |
committer | Bruno Martins <bgcngm@gmail.com> | Mon May 04 10:22:48 2020 +0200 |
tree | 9acbf5aec40901c82136ae12b12f0c0a6c3d8e41 | |
parent | 1c3c0432d03366bc5aef1f50cb8dbe2d07dd92d3 [diff] |
lineage-sdk: NetworkTraffic: Cleanup network callback * Don't call ConnectionManager.get* methods from within the callback, docs say it's racy. * Remove the NetworkState struct whilst we're here. It was useful for debug during development but is no longer needed. Change-Id: Ia1abbdfa31b258c38ba809844340d0dc06e5bd07
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.