Skip to content

Commit

Permalink
Fixed wrong boolean expression in determining whether to skip the poo…
Browse files Browse the repository at this point in the history
…l or not
  • Loading branch information
asos-savvasdalkitsis committed Nov 7, 2013
1 parent c242841 commit 82341a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected Bitmap downsampleWithSize(RecyclableBufferedInputStream bis, BitmapFac
} else {
// cannot reuse bitmaps when decoding images that are not PNG or JPG.
// look at : https://groups.google.com/forum/#!msg/android-developers/Mp0MFVFi1Fo/e8ZQ9FGdWdEJ
if (!shouldUsePool(bis)) {
if (shouldUsePool(bis)) {
setInBitmap(options, pool.get(inWidth, inHeight, getConfig(bis)));
}
}
Expand Down

0 comments on commit 82341a7

Please sign in to comment.