mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-05-29 10:14:21 +02:00
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>()
|
||||
ContentProviderOperation.newInsert(ContactsContract.Groups.CONTENT_URI).apply {
|
||||
withValue(ContactsContract.Groups.TITLE, title)
|
||||
withValue(ContactsContract.Groups.GROUP_VISIBLE, 1)
|
||||
operations.add(build())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user