commit | cafd30f96355ad446943d60cd2595d08423944e2 | [log] [tgz] |
---|---|---|
author | Owen Lin <owenlin@google.com> | Mon Apr 09 10:15:35 2012 +0800 |
committer | Owen Lin <owenlin@google.com> | Tue Apr 10 14:39:23 2012 +0800 |
tree | 04f1473abb3d25eef6c36fe90bf1281120f89153 | |
parent | 8ef6c55bdad9a3e835ce56bdc98681434b4ac5b3 [diff] [blame] |
Add BytesBufferPool to prevent GC. Change-Id: Ia8513ff380a60f102481cbf25650eca149b75064
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java index 64c430d..eddaea5 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.getBytesBufferPool().clear(); } @Override