Go to file
Danesh M e1ba9407f7 CMSDK : Fix generateAlertColorFromDrawable for non BitmapDrawable
In the case that the bitmap being passed in was not a bitmap drawable,
we were not retaining any of the attributes from the original drawable.
This patch ensures we ask that drawable to draw on the canvas/bitmap so we
can use that information. Also add tests around it.

Change-Id: I3eefba6e6624fe0bed4965ddf9029320c40f7420
2016-08-14 21:57:37 -07:00
api [1/2] cmsdk: cm custom boot dexopt UI 2016-08-10 16:52:21 -07:00
cm Automatic translation import 2016-08-13 18:07:36 -07:00
host/migration CMSettings: fix lock screen rotation toggle [3/3] 2016-06-03 14:03:50 -07:00
packages/CMSettingsProvider CMSettings: Add default overlay for forward and reverse lookup 2016-07-29 11:17:46 -07:00
samples cmsdk: correct naming of THIRD_PARTY_KEYGUARD perm 2016-04-13 12:21:24 -07:00
sdk CMSDK : Fix generateAlertColorFromDrawable for non BitmapDrawable 2016-08-14 21:57:37 -07:00
system-api [1/2] cmsdk: cm custom boot dexopt UI 2016-08-10 16:52:21 -07:00
tests CMSDK : Fix generateAlertColorFromDrawable for non BitmapDrawable 2016-08-14 21:57:37 -07:00
.gitignore cmsdk: Ignore "samples" subdir. 2016-04-20 16:39:44 -07:00
Android.mk Instruct AIDL to generate NoOp inner class 2016-07-15 13:14:34 -07:00
CleanSpec.mk cmsdk: Disable verbose logging on doclava, add cleanspec. 2016-02-09 11:05:20 -08:00
org.cyanogenmod.platform.xml CMSDK: Create Quick Settings Tile API. 2015-04-26 16:55:08 -07:00
README.md cmsdk: Update README. 2016-07-01 15:39:33 -07:00

CyanogenMod Platform SDK

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.

Setup

You can either download from prebuilts hosted on github or pull directly via Gradle.

Building against release artifacts

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.+'
}

Building against development snapshots

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'
}

WIKI

For further inquiries regarding this project, please reference the wiki.