From 3029c53d74f415b56fbb9168b99a01fca146874d Mon Sep 17 00:00:00 2001 From: Erwan Croze Date: Tue, 17 Jan 2017 14:19:58 +0100 Subject: [PATCH] Replacing view.setImageURI by a log in a catch --- src/org/linphone/LinphoneUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/linphone/LinphoneUtils.java b/src/org/linphone/LinphoneUtils.java index a73c242c1..a04ac4a8d 100644 --- a/src/org/linphone/LinphoneUtils.java +++ b/src/org/linphone/LinphoneUtils.java @@ -269,7 +269,7 @@ public final class LinphoneUtils { try { bm = MediaStore.Images.Media.getBitmap(c.getContentResolver(),tUri); } catch (IOException e) { - view.setImageURI(tUri); + Log.e(e.getMessage()); } if (bm != null) { view.setImageBitmap(bm);