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) {
|
protected void loadImageIntoPreview(Uri uri) {
|
||||||
Bitmap bm = null;
|
Bitmap bm = null;
|
||||||
try {
|
try {
|
||||||
bm = FileBackend.cropCenterSquare(uri, getPixel(192));
|
bm = ImageUtil.cropCenterSquare(uri, getPixel(192));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue