From 97bda4c5ae3f77a1b450d4abc06f3cf378cc6c1d Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 15 Sep 2009 23:15:23 -0700 Subject: [PATCH] Flag indicating if Contacts source has any unsynced groups. Part of fixing http://b/2084771 --- core/java/android/provider/ContactsContract.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java index b0ac7f4b86089..afa0a7c84b93e 100644 --- a/core/java/android/provider/ContactsContract.java +++ b/core/java/android/provider/ContactsContract.java @@ -1529,7 +1529,7 @@ public final class ContactsContract { * called on a raw contact, it is marked for deletion and removed from its * aggregate contact. The sync adaptor deletes the raw contact on the server and * then calls ContactResolver.delete once more, this time setting the the - * {@link ContactsContract#CALLER_IS_SYNCADAPTER} query parameter to finalize + * {@link ContactsContract#CALLER_IS_SYNCADAPTER} query parameter to finalize * the data removal. *

Type: INTEGER

*/ @@ -1685,6 +1685,13 @@ public final class ContactsContract { */ public static final String UNGROUPED_VISIBLE = "ungrouped_visible"; + /** + * Read-only flag indicating if this {@link #SHOULD_SYNC} or any + * {@link Groups#SHOULD_SYNC} under this account have been marked as + * unsynced. + */ + public static final String ANY_UNSYNCED = "any_unsynced"; + /** * Read-only count of {@link Contacts} from a specific source that have * no {@link CommonDataKinds.GroupMembership} entries.