commit | efe6d135bfbf399742988cc81787ed507fded51d | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Tue Nov 16 12:26:45 2021 +0100 |
committer | Michael Bestas <mkbestas@lineageos.org> | Sun Dec 19 21:57:44 2021 +0100 |
tree | 7e15f8da6ff11e52074e194b2da8b7e21d685780 | |
parent | 55652b702a2d92c0c5596a403860b7572ac642cf [diff] |
Make Usb Restrictor available if USB HAL 1.3+ is present The new HAL exposes an identical interface Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com> Change-Id: Ic7a0862ca92dab5d25c11926235b2e8194cb7e62
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.