From 0ff9833c9826978d01da61d950f88af26c03c957 Mon Sep 17 00:00:00 2001 From: Mark Wagner Date: Wed, 10 Jun 2009 16:13:12 -0700 Subject: [PATCH] Add a search uri constant for mms/sms. --- core/java/android/provider/Telephony.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java index a2c253a20569c..0d96ec38ba5e1 100644 --- a/core/java/android/provider/Telephony.java +++ b/core/java/android/provider/Telephony.java @@ -1498,6 +1498,14 @@ public final class Telephony { public static final Uri CONTENT_DRAFT_URI = Uri.parse( "content://mms-sms/draft"); + + /*** + * Pass in a query parameter called "pattern" which is the text + * to search for. + * The sort order is fixed to be thread_id ASC,date DESC. + */ + public static final Uri SEARCH_URI = Uri.parse( + "content://mms-sms/search"); // Constants for message protocol types. public static final int SMS_PROTO = 0;