Replacing view.setImageURI by a log in a catch

This commit is contained in:
Erwan Croze 2017-01-17 14:19:58 +01:00
parent 27248c3466
commit 3029c53d74

View file

@ -269,7 +269,7 @@ public final class LinphoneUtils {
try { try {
bm = MediaStore.Images.Media.getBitmap(c.getContentResolver(),tUri); bm = MediaStore.Images.Media.getBitmap(c.getContentResolver(),tUri);
} catch (IOException e) { } catch (IOException e) {
view.setImageURI(tUri); Log.e(e.getMessage());
} }
if (bm != null) { if (bm != null) {
view.setImageBitmap(bm); view.setImageBitmap(bm);