Skip to content

Commit d8f5e6b

Browse files
Daisuke MiyakawaAndroid (Google) Code Review
authored andcommitted
Merge "Allow ContactsProvider to remove dulicates" into ics-mr1
2 parents 6b228af + 19352e0 commit d8f5e6b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/java/android/provider/ContactsContract.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,16 @@ public final class ContactsContract {
186186
*/
187187
public static final String DEFERRED_SNIPPETING_QUERY = "deferred_snippeting_query";
188188

189+
/**
190+
* A boolean parameter for {@link CommonDataKinds.Phone#CONTENT_URI},
191+
* {@link CommonDataKinds.Email#CONTENT_URI}, and
192+
* {@link CommonDataKinds.StructuredPostal#CONTENT_URI}.
193+
* This enables a content provider to remove duplicate entries in results.
194+
*
195+
* @hide
196+
*/
197+
public static final String REMOVE_DUPLICATE_ENTRIES = "remove_duplicate_entries";
198+
189199
/**
190200
* <p>
191201
* API for obtaining a pre-authorized version of a URI that normally requires special

0 commit comments

Comments
 (0)