replicant-vendor_cmsdk/tests
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
..
res
src/org/cyanogenmod/tests CMSDK : Fix generateAlertColorFromDrawable for non BitmapDrawable 2016-08-14 21:57:37 -07:00
Android.mk
AndroidManifest.xml
proguard.flags
README.md

CM Platform SDK Tests

The tests package contains both functional manual tests as well as unit tests which can be ran utilizing the InstrumentationTestRunner from android.

To run the tests (on a live device):

adb shell am instrument -w org.cyanogenmod.tests/android.support.test.runner.AndroidJUnitRunner