summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-25 00:21:15 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-25 00:21:15 -0400
commit80d8ace484525f0272b8a56142ef838f5f4d38e4 (patch)
tree56e3c40d0d212eb652572f8a4191b92aea4d8cb9
parent9762ff450dc9d83286d48558e327cf6b48c856ea (diff)
parent343449f018e255fbea1806b394151868a5174e63 (diff)
downloadframeworks_base-80d8ace484525f0272b8a56142ef838f5f4d38e4.zip
frameworks_base-80d8ace484525f0272b8a56142ef838f5f4d38e4.tar.gz
frameworks_base-80d8ace484525f0272b8a56142ef838f5f4d38e4.tar.bz2
Merge change 26997 into eclair
* changes: Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail.
-rw-r--r--media/java/android/media/ThumbnailUtil.java2
1 files changed, 1 insertions, 1 deletions
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;
}