commit | 62885acacaf46c8455b5516e2b0e7d70d67b13da | [log] [tgz] |
---|---|---|
author | dianlujitao <dianlujitao@lineageos.org> | Wed Aug 07 14:51:40 2019 +0800 |
committer | Michael Bestas <mkbestas@lineageos.org> | Tue Aug 20 17:17:28 2019 +0200 |
tree | 276f215901ac4ee87f17af61374f14805aa71476 | |
parent | 36a87acd92285d42a3ab024e8f829062f93b495b [diff] |
LiveDisplayManager: Perform null check in getConfig() * LiveDisplayConfig isn't instanced until boot completed, thus if LiveDisplayManager is instanced earlier, null is always returned. Change-Id: I003886ffced86a5a82dec25a4cc7b542da0f2331
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.