handle the new way of fetching private contacts
This commit is contained in:
parent
2f6139e477
commit
e2b8bb90a7
|
@ -507,7 +507,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||||
if (it) {
|
if (it) {
|
||||||
SetRemindersDialog(this) {
|
SetRemindersDialog(this) {
|
||||||
val reminders = it
|
val reminders = it
|
||||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
|
||||||
|
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||||
|
@ -536,7 +536,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||||
if (it) {
|
if (it) {
|
||||||
SetRemindersDialog(this) {
|
SetRemindersDialog(this) {
|
||||||
val reminders = it
|
val reminders = it
|
||||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
|
||||||
|
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||||
|
|
Loading…
Reference in New Issue