forked from upstream-mirrors/quik
Don't expect message part to be non-null
This commit is contained in:
@@ -358,7 +358,7 @@ class MessageRepositoryImpl @Inject constructor(
|
|||||||
ArrayList(deliveredIntents)
|
ArrayList(deliveredIntents)
|
||||||
)
|
)
|
||||||
} catch (e: IllegalArgumentException) {
|
} catch (e: IllegalArgumentException) {
|
||||||
Timber.w(e, "Message body lengths: ${parts.map { it.length }}")
|
Timber.w(e, "Message body lengths: ${parts.map { it?.length }}")
|
||||||
markFailed(message.id, Telephony.MmsSms.ERR_TYPE_GENERIC)
|
markFailed(message.id, Telephony.MmsSms.ERR_TYPE_GENERIC)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user