summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/util/BitmapDecoder.java
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-08-15 17:12:57 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-08-15 17:12:57 +0200
commit034fa8a9e7c11427315bf23f973358fde7b7e060 (patch)
tree8bf12d8e05c9f442d73b867bdbaf2882258ae5ea /src/de/danoeh/antennapod/util/BitmapDecoder.java
parent336beae40951338cc310fd3813e1fb02937fc1d4 (diff)
downloadAntennaPod-034fa8a9e7c11427315bf23f973358fde7b7e060.zip
Cover was not displayed correctly on some devices
Diffstat (limited to 'src/de/danoeh/antennapod/util/BitmapDecoder.java')
-rw-r--r--src/de/danoeh/antennapod/util/BitmapDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/util/BitmapDecoder.java b/src/de/danoeh/antennapod/util/BitmapDecoder.java
index a38291b34..84cff582f 100644
--- a/src/de/danoeh/antennapod/util/BitmapDecoder.java
+++ b/src/de/danoeh/antennapod/util/BitmapDecoder.java
@@ -41,7 +41,7 @@ public class BitmapDecoder {
options.inJustDecodeBounds = false;
options.inSampleSize = sampleSize;
options.inPreferredConfig = Bitmap.Config.ARGB_8888;
- options.inScaled = false;
+ options.inScaled = true;
Bitmap decodedBitmap = BitmapFactory.decodeFile(fileUrl, options);
if (decodedBitmap == null) {