diff options
-rw-r--r-- | src/com/android/gallery3d/filtershow/cache/ImageLoader.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/cache/ImageLoader.java b/src/com/android/gallery3d/filtershow/cache/ImageLoader.java index 25bb6b60a..df4f3fd3a 100644 --- a/src/com/android/gallery3d/filtershow/cache/ImageLoader.java +++ b/src/com/android/gallery3d/filtershow/cache/ImageLoader.java @@ -388,6 +388,10 @@ public class ImageLoader { } } bmp = loadRegionBitmap(mUri, options, bounds); + if (destination != null) { + mLoadingLock.unlock(); + return bmp; + } if (bmp != null) { // TODO: this workaround for RS might not be needed ultimately Bitmap bmp2 = bmp.copy(Bitmap.Config.ARGB_8888, true); |