aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-29 15:46:31 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-29 15:46:31 -0700
commitd1f9469fa73c7bbbd9d462eb0b4df7c7d7fbad00 (patch)
tree45ffbcada7a154049088e863f4e52007b83cd72d /src
parentc74615be2f282e5f107fe224398e9132a16e1376 (diff)
downloaddsub-d1f9469fa73c7bbbd9d462eb0b4df7c7d7fbad00.tar.gz
dsub-d1f9469fa73c7bbbd9d462eb0b4df7c7d7fbad00.tar.bz2
dsub-d1f9469fa73c7bbbd9d462eb0b4df7c7d7fbad00.zip
Force scaling of avatars
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/util/FileUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/FileUtil.java b/src/github/daneren2005/dsub/util/FileUtil.java
index bf0f288b..ec7a4c4b 100644
--- a/src/github/daneren2005/dsub/util/FileUtil.java
+++ b/src/github/daneren2005/dsub/util/FileUtil.java
@@ -237,7 +237,7 @@ public class FileUtil {
opt.inJustDecodeBounds = false;
Bitmap bitmap = BitmapFactory.decodeFile(avatarFile.getPath(), opt);
- return bitmap == null ? null : getScaledBitmap(bitmap, size);
+ return bitmap == null ? null : getScaledBitmap(bitmap, size, false);
}
return null;
}