commit | b8be1e0ad76b6abc0da7ead39f7a9811195d001e | [log] [tgz] |
---|---|---|
author | Chih-Chung Chang <chihchung@google.com> | Tue Apr 17 20:35:14 2012 +0800 |
committer | Chih-Chung Chang <chihchung@google.com> | Wed Apr 18 20:31:10 2012 +0800 |
tree | fd52c19ef4c77b581acd89c9599205949c371eb4 | |
parent | 2ae47200a8ac7a57eff925d287f7b48a2360d95c [diff] [blame] |
Add thumb pool the cache Bitmap used for thumbnails. Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java index eddaea5..00f6ac5 100644 --- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java +++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -178,6 +178,7 @@ mGLRootView.unlockRenderThread(); } MediaItem.getMicroThumbPool().clear(); + MediaItem.getThumbPool().clear(); MediaItem.getBytesBufferPool().clear(); }