From 4ad9d6b5cc476106974b76c13984707ee52ec39f Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Thu, 7 May 2015 11:34:07 -0700 Subject: [PATCH] Fix for drawable modification on background thread. // FREEBIE --- src/org/thoughtcrime/securesms/util/BitmapUtil.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/util/BitmapUtil.java b/src/org/thoughtcrime/securesms/util/BitmapUtil.java index 3b7b8a091b..247873ec48 100644 --- a/src/org/thoughtcrime/securesms/util/BitmapUtil.java +++ b/src/org/thoughtcrime/securesms/util/BitmapUtil.java @@ -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;