summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2010-02-08 15:04:41 +0800
committerRay Chen <raychen@google.com>2010-02-11 10:26:57 +0800
commit9eddd3ad50e2db247929e1b0cb6b324d94e3d07f (patch)
treec149ae6de92f93a9c0ddb48406f082093801ff63 /src
parentf8b49e317d2d039a89ce1d0b40c75131ce661080 (diff)
downloadLegacyCamera-9eddd3ad50e2db247929e1b0cb6b324d94e3d07f.zip
LegacyCamera-9eddd3ad50e2db247929e1b0cb6b324d94e3d07f.tar.gz
LegacyCamera-9eddd3ad50e2db247929e1b0cb6b324d94e3d07f.tar.bz2
Revise due to ThumbnailUtils api change.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/ThumbnailController.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/camera/ThumbnailController.java b/src/com/android/camera/ThumbnailController.java
index 44ce7f2..6b67cb0 100644
--- a/src/com/android/camera/ThumbnailController.java
+++ b/src/com/android/camera/ThumbnailController.java
@@ -157,9 +157,8 @@ public class ThumbnailController {
- mButton.getPaddingLeft() - mButton.getPaddingRight();
final int miniThumbHeight = param.height
- mButton.getPaddingTop() - mButton.getPaddingBottom();
- mThumb = ThumbnailUtils.extractMiniThumb(
- original, miniThumbWidth, miniThumbHeight,
- ThumbnailUtils.NO_RECYCLE_INPUT);
+ mThumb = ThumbnailUtils.extractThumbnail(
+ original, miniThumbWidth, miniThumbHeight);
Drawable drawable;
if (mThumbs == null) {
mThumbs = new Drawable[2];