commit | 256a7350cef055c58a95c902abdb25c2557097c9 | [log] [tgz] |
---|---|---|
author | Roman Birg <roman@cyngn.com> | Fri May 06 09:21:00 2016 -0700 |
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | Wed May 11 14:45:14 2016 -0700 |
tree | b4050e8ba14641b1a8699fc88152245b7b1f2248 | |
parent | 8c8601b9f3993481d2197bd55ab482cb0dabca6a [diff] |
CMSettings: don't trample user metrics setting on upgrade During an upgrade, we try to migrate values which are considered to be LEGACY settings to the new provider, however because of a bad upgrade path, we need to check if the key exists in the new database AND the old database, and then we can skip it in that case. Ticket: CYNGNOS-2740 Change-Id: I5d6bc8399ccc328f4190ed7508c27bd9d5de1b9d Signed-off-by: Roman Birg <roman@cyngn.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:4.+' }
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 5.0-SNAPSHOT
dependencies { compile 'org.cyanogenmod:platform.sdk:5.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.