Replacing view.setImageURI by a log in a catch
This commit is contained in:
parent
27248c3466
commit
3029c53d74
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue