aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-03-08 12:56:02 +0100
committersteckbrief <steckbrief@chefmail.de>2016-03-08 12:56:02 +0100
commitd80e433e4286f4eef3bf416b83b40b31e5cdf0c9 (patch)
tree4deaf63f0a091d617bad798bb258153262f2bd5c
parent48f3922fe652fea8d7b97afe90868d5d4ab290f7 (diff)
Use ImageUtil instead of old stupid generic FileBackend for cropCenterSquaretrz/merge_1.11.0
-rw-r--r--src/main/java/eu/siacs/conversations/ui/PublishProfilePictureActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/PublishProfilePictureActivity.java b/src/main/java/eu/siacs/conversations/ui/PublishProfilePictureActivity.java
index d36a4316..8c10adf2 100644
--- a/src/main/java/eu/siacs/conversations/ui/PublishProfilePictureActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/PublishProfilePictureActivity.java
@@ -281,7 +281,7 @@ public class PublishProfilePictureActivity extends XmppActivity {
protected void loadImageIntoPreview(Uri uri) {
Bitmap bm = null;
try {
- bm = FileBackend.cropCenterSquare(uri, getPixel(192));
+ bm = ImageUtil.cropCenterSquare(uri, getPixel(192));
} catch (Exception e) {
e.printStackTrace();
}