From be69cc8ed86b7f22e7e4cf0c5a1500f45993075f Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Thu, 7 Jul 2011 16:05:33 -0700 Subject: [PATCH] Remove unnecessary lock --- src/com/android/launcher2/AppsCustomizePagedView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java index 888d3d38c1..ced46c98fd 100644 --- a/src/com/android/launcher2/AppsCustomizePagedView.java +++ b/src/com/android/launcher2/AppsCustomizePagedView.java @@ -765,7 +765,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen layout.measure(widthSpec, heightSpec); setVisibilityOnChildren(layout, View.VISIBLE); } - private synchronized void renderDrawableToBitmap(Drawable d, Bitmap bitmap, int x, int y, int w, int h, + private void renderDrawableToBitmap(Drawable d, Bitmap bitmap, int x, int y, int w, int h, float scaleX, float scaleY) { if (bitmap != null) { Canvas c = new Canvas(bitmap);