Fix for drawable modification on background thread.

// FREEBIE
pull/1/head
Moxie Marlinspike 10 years ago
parent 417a4b86b6
commit 4ad9d6b5cc

@ -268,7 +268,6 @@ public class BitmapUtil {
Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight());
drawable.draw(canvas);
return bitmap;

Loading…
Cancel
Save