Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d125436e authored by Moez Bhatti's avatar Moez Bhatti
Browse files

Silence error

parent af62b064
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -475,7 +475,7 @@ class MessageRepositoryImpl @Inject constructor(

        val addresses = pdu.to.map { it.string }.filter { it.isNotBlank() }
        val parts = message.parts.mapNotNull { part ->
            val bytes = tryOrNull {
            val bytes = tryOrNull(false) {
                context.contentResolver.openInputStream(part.getUri())?.use { inputStream -> inputStream.readBytes() }
            } ?: return@mapNotNull null