From 343449f018e255fbea1806b394151868a5174e63 Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Thu, 24 Sep 2009 20:22:37 -0700 Subject: Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail. --- media/java/android/media/ThumbnailUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/java/android/media/ThumbnailUtil.java b/media/java/android/media/ThumbnailUtil.java index 3db10b8..eeee266 100644 --- a/media/java/android/media/ThumbnailUtil.java +++ b/media/java/android/media/ThumbnailUtil.java @@ -245,7 +245,7 @@ public class ThumbnailUtil { } Matrix matrix = new Matrix(); matrix.setScale(scale, scale); - Bitmap miniThumbnail = transform(matrix, source, width, height, false, recycle); + Bitmap miniThumbnail = transform(matrix, source, width, height, true, recycle); return miniThumbnail; } -- cgit v1.1