Use ImageUtil instead of old stupid generic FileBackend for cropCenterSquare
This commit is contained in:
parent
48f3922fe6
commit
d80e433e42
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue