show only contact groups where System_ID is null
This commit is contained in:
parent
8ad98e7c12
commit
27855ca574
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ class ContactsHelper(val activity: BaseSimpleActivity) {
|
|||
ContactsContract.Groups.TITLE
|
||||
)
|
||||
|
||||
val selection = "${ContactsContract.Groups.AUTO_ADD} = ? AND ${ContactsContract.Groups.FAVORITES} = ?"
|
||||
val selection = "${ContactsContract.Groups.AUTO_ADD} = ? AND ${ContactsContract.Groups.FAVORITES} = ? AND ${ContactsContract.Groups.SYSTEM_ID} IS NULL"
|
||||
val selectionArgs = arrayOf("0", "0")
|
||||
|
||||
var cursor: Cursor? = null
|
||||
|
|
Loading…
Reference in a new issue