robolectric/robolectric — pull request #1216 by Graya3000 (2014-07-31 12:06:14+00:00)
Title: Check for negative/zero input in createBitmap()

Adds a check for negative or zero values for Width/Height in
ShadowBitmap.createBitmap(int width, int height, Bitmap.Config config)
implementation. Raises IllegalArgumentException if params are negative
or zero. Follows implementation in android.graphics.bitmap.

This fixes issue #1215.