commit | 952645382cb84a8bdc15506a63df782f96045d4a | [log] [tgz] |
---|---|---|
author | Zhao Wei Liew <zhaoweiliew@gmail.com> | Sat Nov 19 23:24:44 2016 +0800 |
committer | Rashed Abdel-Tawab <rashedabdeltawab@gmail.com> | Sat Feb 04 00:33:21 2017 +0000 |
tree | e699b1137bdd479805cd73c0803ea2b1a9018c8e | |
parent | ebf0e84848edddb44dedfb42def1c744f7f95b5d [diff] |
CMSDK: Add long-press power for torch CMSetting This is used to decide whether a user wants to long-press the power button while the display is off to activate the torchlight. Change-Id: I3bfaa4bf5a5452b9af2c412596c6713a151e0ec8
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.cyanogenmod: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.cyanogenmod:platform.sdk:6.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.