summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/java/android/provider/Contacts.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/provider/Contacts.java b/core/java/android/provider/Contacts.java
index be31c0a..c2d3907 100644
--- a/core/java/android/provider/Contacts.java
+++ b/core/java/android/provider/Contacts.java
@@ -273,6 +273,18 @@ public class Contacts {
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.
*/