mirror of
https://github.com/etesync/android
synced 2025-01-11 00:01:12 +00:00
LocalGroup: implement updateAsDirty.
This commit is contained in:
parent
cc83e2c5d9
commit
bbd40e0255
@ -208,6 +208,19 @@ class LocalGroup : AndroidGroup, LocalAddress {
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
fun updateAsDirty(group: Contact, members: List<Long>): Uri {
|
||||
saveAsDirty = true
|
||||
|
||||
val ret = this.update(group)
|
||||
|
||||
val batch = BatchOperation(addressBook.provider!!)
|
||||
setMembers(batch, members)
|
||||
batch.commit()
|
||||
|
||||
return ret
|
||||
}
|
||||
|
||||
fun createAsDirty(members: List<Long>): Uri {
|
||||
saveAsDirty = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user