summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2009-09-24 20:22:37 -0700
committerRay Chen <raychen@google.com>2009-09-24 20:22:37 -0700
commit343449f018e255fbea1806b394151868a5174e63 (patch)
tree54b2eda5f99f5ca756f066f5cbd2b3244ccaa372
parent56024f260f993c70a65aca0081c78b21801a7c5a (diff)
downloadframeworks_base-343449f018e255fbea1806b394151868a5174e63.zip
frameworks_base-343449f018e255fbea1806b394151868a5174e63.tar.gz
frameworks_base-343449f018e255fbea1806b394151868a5174e63.tar.bz2
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;
}