commit | d6a273df7424921c3c777ab7dc6b364f5001b805 | [log] [tgz] |
---|---|---|
author | Paul Keith <javelinanddart@gmail.com> | Thu Feb 07 12:40:27 2019 -0600 |
committer | Paul Keith <javelinanddart@gmail.com> | Fri Feb 08 07:16:42 2019 -0600 |
tree | 44b18987be58c08136119d1c355406e7e2abaa82 | |
parent | 5f6587d5f3154e885b08839ef95fb1493227d0e0 [diff] |
sdk: LineageHardwareService: Add fallback to HWC2 * We can't talk to DisplayTransformManager in C++, so we must have a fallback in the SDK itself for HWC2 * While we're at it, fix the size of the int array created in getDisplayColorCalibration() to be 5 rather than 6 Change-Id: Ic524f7d60ae1585efed3fba676cf3301dcaecd7f
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.