make sure newly created groups are visible in other apps too
This commit is contained in:
parent
39921fc66d
commit
7edb2de918
|
@ -397,6 +397,7 @@ class ContactsHelper(val activity: BaseSimpleActivity) {
|
||||||
val operations = ArrayList<ContentProviderOperation>()
|
val operations = ArrayList<ContentProviderOperation>()
|
||||||
ContentProviderOperation.newInsert(ContactsContract.Groups.CONTENT_URI).apply {
|
ContentProviderOperation.newInsert(ContactsContract.Groups.CONTENT_URI).apply {
|
||||||
withValue(ContactsContract.Groups.TITLE, title)
|
withValue(ContactsContract.Groups.TITLE, title)
|
||||||
|
withValue(ContactsContract.Groups.GROUP_VISIBLE, 1)
|
||||||
operations.add(build())
|
operations.add(build())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue