commit | 13e478afa849b6521e603850bc456438d1b500a5 | [log] [tgz] |
---|---|---|
author | Roman Birg <roman@cyngn.com> | Tue Jun 07 11:19:05 2016 -0700 |
committer | Nathan Prevette <nprevette420@gmail.com> | Thu Jun 09 16:12:38 2016 -0700 |
tree | 24248a40e74aed071b271baf4ea2fbd5888dd45f | |
parent | bec38251081bd8f170fd11b5a44a9ece043353a1 [diff] |
CMSettingsProvider: load provisioned flag when creating DB If the database needs to be created, it will not be upgraded. So, if the device was provisioned and the table wasn't created, we don't upgrade and so we cannot bring the old flag to the new location. Fix this by setting the new cm provisioned flag on database creation. Ticket: CYNGNOS-3017 Change-Id: I1e961f1cb2d06c55c1e92ef63c6dbaee17dbc304 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.