diff --git a/core/java/android/provider/Contacts.java b/core/java/android/provider/Contacts.java index be31c0a55d815..c2d39075f823b 100644 --- a/core/java/android/provider/Contacts.java +++ b/core/java/android/provider/Contacts.java @@ -272,6 +272,18 @@ public class Contacts { public static final Uri DELETED_CONTENT_URI = Uri.parse("content://contacts/deleted_people"); + /** + * The content:// style URL for filtering people that have a specific + * E-mail or IM address. The filter argument should be passed as an + * additional path segment after this URI. This matches any people with + * at least one E-mail or IM {@link ContactMethods} that match the + * filter. + * + * @hide pending API council review + */ + public static final Uri WITH_EMAIL_OR_IM_FILTER_URI = + Uri.parse("content://contacts/people/with_email_or_im_filter"); + /** * The MIME type of {@link #CONTENT_URI} providing a directory of * people.