Commit Graph

2 Commits

Author SHA1 Message Date
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
Danesh M c701b8ea6e CMSDK : Add tests for ColorUtils
CYNGNOS-3047

Change-Id: Icdea3bd18f80302eb421cbd572abc9e6eeb30f0a
2016-06-15 13:38:40 -07:00