commit | cef20e4e1f01a30d8a92631aeb3aa50d88b51cac | [log] [tgz] |
---|---|---|
author | Sam Mortimer <sam@mortimer.me.uk> | Tue Oct 17 21:02:15 2017 -0700 |
committer | Sam Mortimer <sam@mortimer.me.uk> | Tue Nov 21 04:01:11 2017 +0000 |
tree | 25231e5966068890a0ee0b92d5cead95d124350e | |
parent | 814a9f5fa3a69f76fd4616b052d666514cab04b4 [diff] |
lineage-sdk internal: Add LightsCapabilities *) Moved lights capabilities from frameworks/base NotificationManager to the lineage-sdk. *) Add device has a battery light LIGHTS_BATTERY_LED capability. Adapted from the original frameworks/base commits: Author: Ricardo Cerqueira <android@cerqueira.org> Date: Thu Nov 10 12:15:00 2016 +0000 NotificationManager: Concentrate LED light capabilities in a single location We have a bunch of individual boolean toggles for various LED behaviors and combinations, which end up getting used as a similarly sprawling bunch of getResource() calls across various locations. And they keep piling up... So... create a new overlayable bit field of LED capabilities, config_deviceLightCapabilities, where we can throw everything and expand in the future. Remove the obsolete overlays so that everyone uses the new overlay moving forward. Change-Id: I7d627914b058861048071fc15776031c4152157f Author: Adrian DC <radian.dc@gmail.com> Date: Sat Oct 14 23:08:47 2017 +0200 fw: Rebrand to LineageOS and cleanup for Android Oreo Change-Id: If7468759925d1636adad1c253d68b5adbc6dfb26 Change-Id: Ib14badcc0a2ad165610dd7d0e90388170e1cd548
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.