mirror of
				https://github.com/oxen-io/session-android.git
				synced 2025-10-31 17:59:40 +00:00 
			
		
		
		
	Fix for drawable modification on background thread.
// FREEBIE
This commit is contained in:
		| @@ -268,7 +268,6 @@ public class BitmapUtil { | |||||||
|  |  | ||||||
|     Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); |     Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); | ||||||
|     Canvas canvas = new Canvas(bitmap); |     Canvas canvas = new Canvas(bitmap); | ||||||
|     drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); |  | ||||||
|     drawable.draw(canvas); |     drawable.draw(canvas); | ||||||
|  |  | ||||||
|     return bitmap; |     return bitmap; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Moxie Marlinspike
					Moxie Marlinspike