commit | 681bd06b36359ce8a8fad83f0c8d7e7746f3a534 | [log] [tgz] |
---|---|---|
author | Sam Mortimer <sam@mortimer.me.uk> | Sun Feb 11 01:27:23 2018 -0800 |
committer | Sam Mortimer <sam@mortimer.me.uk> | Tue Feb 13 17:06:14 2018 +0000 |
tree | f4333ca6869a97c0a56743086dfe85670cc58915 | |
parent | b37c96df9cc9518d99ee240c4665c2f3c79a5964 [diff] |
lineage-sdk: Set drawable bounds in generateAlertColorFromDrawable() *) Android docs say this is required. *) Fixes generating alert color from oreo gmail app (and probably many others). Change-Id: Iad9a8ea82531c1cf844fae5456fd998a4b486165
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.