Use ImageUtil instead of old stupid generic FileBackend for cropCenterSquare

This commit is contained in:
steckbrief 2016-03-08 12:56:02 +01:00
parent 48f3922fe6
commit d80e433e42

View file

@ -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();
}