adding some crashfixes
This commit is contained in:
parent
35bbd27d42
commit
f412f401d3
6 changed files with 16 additions and 9 deletions
|
|
@ -183,7 +183,7 @@ class MainActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun getNewConversations(cachedConversations: ArrayList<Conversation>) {
|
||||
val privateCursor = getMyContactsCursor().loadInBackground()
|
||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
||||
ensureBackgroundThread {
|
||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||
val conversations = getConversations(privateContacts = privateContacts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue