make sure newly created groups are visible in other apps too

This commit is contained in:
tibbi 2018-03-20 23:34:48 +01:00
parent 39921fc66d
commit 7edb2de918
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ class ContactsHelper(val activity: BaseSimpleActivity) {
val operations = ArrayList<ContentProviderOperation>()
ContentProviderOperation.newInsert(ContactsContract.Groups.CONTENT_URI).apply {
withValue(ContactsContract.Groups.TITLE, title)
withValue(ContactsContract.Groups.GROUP_VISIBLE, 1)
operations.add(build())
}