From 103686f89b3a5b987ec174d0ab1487e57bdb7003 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Fri, 4 Sep 2015 12:47:48 -0700 Subject: [PATCH] damnit, glide. fixes #2957 // FREEBIE --- src/org/thoughtcrime/securesms/util/BitmapUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/thoughtcrime/securesms/util/BitmapUtil.java b/src/org/thoughtcrime/securesms/util/BitmapUtil.java index bebe9c4907..63c68cd5b1 100644 --- a/src/org/thoughtcrime/securesms/util/BitmapUtil.java +++ b/src/org/thoughtcrime/securesms/util/BitmapUtil.java @@ -93,6 +93,7 @@ public class BitmapUtil { return Glide.with(context) .load(model) .asBitmap() + .fitCenter() .skipMemoryCache(true) .into(width, height) .get();