Upgrade remaining modules to api 29

This commit is contained in:
moezbhatti
2019-10-28 00:26:20 -04:00
parent 42d693a08f
commit 24e185ee62
7 changed files with 15 additions and 14 deletions
@@ -42,7 +42,7 @@ sealed class Attachment {
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1 && inputContent != null) {
inputContent.description.hasMimeType("image/gif")
} else {
context.contentResolver.getType(uri) == "image/gif"
uri?.let(context.contentResolver::getType) == "image/gif"
}
}
}