Fix errors logs when parsing contacts
This commit is contained in:
parent
73fa4868d0
commit
67ec4226b9
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ public class LinphoneContact implements Serializable, Comparable<LinphoneContact
|
|||
try {
|
||||
photoBitmap = MediaStore.Images.Media.getBitmap(ContactsManager.getInstance().getContentResolver(), photoUri);
|
||||
} catch (FileNotFoundException e) {
|
||||
Log.e(e);
|
||||
// Let's not say anything if the picture doesn't exist, it will pollute the logs
|
||||
} catch (IOException e) {
|
||||
Log.e(e);
|
||||
}
|
||||
|
@ -218,7 +218,7 @@ public class LinphoneContact implements Serializable, Comparable<LinphoneContact
|
|||
try {
|
||||
thumbnailBitmap = MediaStore.Images.Media.getBitmap(ContactsManager.getInstance().getContentResolver(), thumbnailUri);
|
||||
} catch (FileNotFoundException e) {
|
||||
Log.e(e);
|
||||
// Let's not say anything if the picture doesn't exist, it will pollute the logs
|
||||
} catch (IOException e) {
|
||||
Log.e(e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue