commit | 53063796fc0b9671bad430a662f4a9b9db98654c | [log] [tgz] |
---|---|---|
author | Danny Baumann <dannybaumann@web.de> | Mon Sep 12 16:18:22 2016 +0200 |
committer | blueyes <brian.w.petroski@gmail.com> | Thu Sep 15 18:26:50 2016 -0700 |
tree | 13ed4a8c2dc4ed1243662c31075e5c129071da1b | |
parent | 6aebd0f757b1d305a0a6d80afb64a7710262789b [diff] |
Don't unboundedly enqueue transition messages. As long as the light sensor is providing values, each value change will enqueue a transition message, which may queue up. Stop doing that and ensure only one transition message is queued at any given time. Change-Id: I6e9c5b265066089ff9e0cea7237c2023ed1af30c Reviewed-on: http://review.blissroms.com/4276 Reviewed-by: blueyes <brian.w.petroski@gmail.com> Tested-by: blueyes <brian.w.petroski@gmail.com>
The Platform SDK provides a set of APIs that give you easy access to a variety of different features within CyanogenMod. 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.