adding some crashfixes
This commit is contained in:
parent
35bbd27d42
commit
f412f401d3
6 changed files with 16 additions and 9 deletions
|
|
@ -144,7 +144,7 @@ class NewConversationActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun fillSuggestedContacts(callback: () -> Unit) {
|
||||
val privateCursor = getMyContactsCursor().loadInBackground()
|
||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
||||
ensureBackgroundThread {
|
||||
privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||
val suggestions = getSuggestedContacts(privateContacts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue