set target SDK to 30, updating kotlin, commons, gradle

This commit is contained in:
tibbi
2021-04-03 21:47:27 +02:00
parent 1f10cf7070
commit 64c67c16ca
3 changed files with 7 additions and 8 deletions

View File

@ -633,7 +633,7 @@ class ContactsHelper(val context: Context) {
try {
val results = context.contentResolver.applyBatch(AUTHORITY, operations)
val rawId = ContentUris.parseId(results[0].uri)
val rawId = ContentUris.parseId(results[0].uri!!)
return Group(rawId, title)
} catch (e: Exception) {
context.showErrorToast(e)
@ -1340,7 +1340,7 @@ class ContactsHelper(val context: Context) {
}
// fullsize photo
val rawId = ContentUris.parseId(results[0].uri)
val rawId = ContentUris.parseId(results[0].uri!!)
if (contact.photoUri.isNotEmpty() && fullSizePhotoData != null) {
addFullSizePhoto(rawId, fullSizePhotoData)
}