From fee8237eb5b66ef5d2ced31334c5b51890a838fc Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 6 Jan 2019 17:55:08 +0000 Subject: [PATCH] snap --- .../etesync/syncadapter/resource/LocalGroup.kt | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/app/src/main/java/com/etesync/syncadapter/resource/LocalGroup.kt b/app/src/main/java/com/etesync/syncadapter/resource/LocalGroup.kt index ab7c97bd..85625a0d 100644 --- a/app/src/main/java/com/etesync/syncadapter/resource/LocalGroup.kt +++ b/app/src/main/java/com/etesync/syncadapter/resource/LocalGroup.kt @@ -194,23 +194,6 @@ class LocalGroup : AndroidGroup, LocalAddress { fileName = uid } - - /** - * Marks all members of the current group as dirty. - */ - fun markMembersDirty() { - val batch = BatchOperation(addressBook.provider!!) - - for (member in getMembers()) - batch.enqueue(BatchOperation.Operation( - ContentProviderOperation.newUpdate(addressBook.syncAdapterURI(ContentUris.withAppendedId(RawContacts.CONTENT_URI, member))) - .withValue(RawContacts.DIRTY, 1) - .withYieldAllowed(true) - )) - - batch.commit() - } - override fun resetDeleted() { val values = ContentValues(1) values.put(Groups.DELETED, 0)