commit | 1baecdab6d039fb63f2e3c78dc9d93bc2f7da730 | [log] [tgz] |
---|---|---|
author | Michael Bestas <mkbestas@lineageos.org> | Sun Jun 16 02:28:08 2024 +0300 |
committer | Bruno Martins <bgcngm@gmail.com> | Sun Jun 16 00:52:08 2024 +0100 |
tree | 846763bd66e12ba646f5b98cfe7acecdd948ed23 | |
parent | 805093b3abe5828efcd2f46921fd2cd88149ba4b [diff] |
profiles: Use new helper to get default NFC adapter No longer necessary to initialize the variable, since the helper returns the default NFC adapter, or null if no NFC adapter exists. Additionally, try...catch can also be removed. Change-Id: Ic3a1fac8cdf892d5ceccec4e39090ac20cc91e5d
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.