commit | 4457a818c338ec2d7bdaf2cf4b9499c043eac275 | [log] [tgz] |
---|---|---|
author | Han Wang <416810799@qq.com> | Sat Mar 06 10:21:55 2021 +0100 |
committer | Han Wang <416810799@qq.com> | Sat Mar 06 10:27:55 2021 +0100 |
tree | a2f9732b719ea00a0caae34d47df3695ab5d0d39 | |
parent | 09b2736bced2de8003e389793addb9a4c3ea925d [diff] |
lineage-sdk: Fix NPE when using getPictureAdjustmentRanges() * This method can return null, and List.addAll(null) will throw NPE. Fix it. Change-Id: I4e5fc719209dbfbce785b1e0b07588e2406203ea
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.