Silence errors when trying to load contact photo for notification

This commit is contained in:
moezbhatti
2018-12-29 16:15:30 -05:00
parent 459b051037
commit 3360f47c31
@@ -160,7 +160,7 @@ class NotificationManagerImpl @Inject constructor(
.circleCrop()
.load(PhoneNumberUtils.stripSeparators(message.address))
.submit(64.dpToPx(context), 64.dpToPx(context))
.let { futureGet -> tryOrNull { futureGet.get() } }
.let { futureGet -> tryOrNull(false) { futureGet.get() } }
?.let(IconCompat::createWithBitmap))
recipient?.contact