summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/gallery/BaseImage.java
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2009-10-05 14:34:24 -0700
committerRay Chen <raychen@google.com>2009-10-06 16:18:49 -0700
commit28f3595372cfbff1a2e5e83bf59d8dff76e14215 (patch)
tree489fecf77b4abcae6a9d75d6647bd5d96b2fa668 /src/com/android/camera/gallery/BaseImage.java
parent5569ee858ef994970191798f326c91f95b4f91cd (diff)
downloadLegacyCamera-28f3595372cfbff1a2e5e83bf59d8dff76e14215.zip
LegacyCamera-28f3595372cfbff1a2e5e83bf59d8dff76e14215.tar.gz
LegacyCamera-28f3595372cfbff1a2e5e83bf59d8dff76e14215.tar.bz2
Utilize group id to request & cancel thumbnail requests.
Diffstat (limited to 'src/com/android/camera/gallery/BaseImage.java')
-rw-r--r--src/com/android/camera/gallery/BaseImage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/gallery/BaseImage.java b/src/com/android/camera/gallery/BaseImage.java
index 6607b08..6e2f8f1 100644
--- a/src/com/android/camera/gallery/BaseImage.java
+++ b/src/com/android/camera/gallery/BaseImage.java
@@ -181,8 +181,8 @@ public abstract class BaseImage implements IImage {
Bitmap b = null;
try {
long id = mId;
- b = Images.Thumbnails.getThumbnail(mContentResolver, id,
- Images.Thumbnails.MICRO_KIND, null);
+ b = BitmapManager.instance().getThumbnail(mContentResolver, id,
+ Images.Thumbnails.MICRO_KIND, null, false);
} catch (Throwable ex) {
Log.e(TAG, "miniThumbBitmap got exception", ex);
return null;