Fix for drawable modification on background thread.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-05-07 11:34:07 -07:00
parent 417a4b86b6
commit 4ad9d6b5cc
1 changed files with 0 additions and 1 deletions

View File

@ -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;