commit | da392f91951cb2e57bf2f66bfcbcc4816432dc67 | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Tue Mar 19 19:02:38 2019 +0100 |
committer | Michael Bestas <mkbestas@lineageos.org> | Fri Apr 12 01:28:27 2019 +0200 |
tree | 37afd2e6d9b8768688e9e5259810b95ca8536596 | |
parent | 952ef00123d9a3cffee5d71924e997edf2826a8f [diff] |
sdk: notification: allow forcing notification color for preview Parts uses notifications to preview custom notification lights. Since Android O we got NotificationChannels and the internal API uses the color values of the channel instead of the color set at the notification. To prevent unexpected breakage in future, introduce a flag to be used for providing preview colors in a bundle to force said color. Also introduce flags to control the ON and OFF duration. Change-Id: Ifbb7995a19d95b6ddb2627c1b14dd201f9dc5430 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
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.