summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/ImageCacheRequest.java
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-04-17 20:35:14 +0800
committerChih-Chung Chang <chihchung@google.com>2012-04-18 20:31:10 +0800
commit2eaa2112c460e931ad0261b408213d3d1217d96f (patch)
treee0b9a6e51284ec5e369a3d9926704b1c69190139 /src/com/android/gallery3d/data/ImageCacheRequest.java
parent146df37d6a6c7ca8686f5934b3d90b16c24a2583 (diff)
downloadandroid_packages_apps_Snap-2eaa2112c460e931ad0261b408213d3d1217d96f.tar.gz
android_packages_apps_Snap-2eaa2112c460e931ad0261b408213d3d1217d96f.tar.bz2
android_packages_apps_Snap-2eaa2112c460e931ad0261b408213d3d1217d96f.zip
Add thumb pool the cache Bitmap used for thumbnails.
Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
Diffstat (limited to 'src/com/android/gallery3d/data/ImageCacheRequest.java')
-rw-r--r--src/com/android/gallery3d/data/ImageCacheRequest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/data/ImageCacheRequest.java b/src/com/android/gallery3d/data/ImageCacheRequest.java
index c10158bcd..81660c915 100644
--- a/src/com/android/gallery3d/data/ImageCacheRequest.java
+++ b/src/com/android/gallery3d/data/ImageCacheRequest.java
@@ -60,7 +60,7 @@ abstract class ImageCacheRequest implements Job<Bitmap> {
bitmap = MediaItem.getMicroThumbPool().decode(jc,
buffer.data, buffer.offset, buffer.length, options);
} else {
- bitmap = DecodeUtils.decode(jc,
+ bitmap = MediaItem.getThumbPool().decode(jc,
buffer.data, buffer.offset, buffer.length, options);
}
if (bitmap == null && !jc.isCancelled()) {