commit | ae4d409d98d6962886dc41c2fbb7f6771f3b6074 | [log] [tgz] |
---|---|---|
author | dianlujitao <dianlujitao@lineageos.org> | Fri Mar 18 19:26:39 2022 +0800 |
committer | Ćukasz Patron <priv.luk@gmail.com> | Tue Mar 22 22:27:11 2022 +0100 |
tree | 6ef9f986166f8a18a6d5902e90feba94a96e555a | |
parent | 6528cae9264419febbae2ca4618a33934ad064a0 [diff] |
Fix Usb Restrictor if USB HAL 1.3+ is not present Change-Id: Ic80f07161b24676e1697d29fea00219267a6fe81
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.