diff options
author | Danesh M <daneshm90@gmail.com> | 2015-08-31 12:51:03 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-08-31 19:55:24 -0700 |
commit | 9762ec84c77d8a5d62e994e71e611d1bfe72c82c (patch) | |
tree | becdd6c3ce398ebe0da9f4e22d10ae1e7f58a2af | |
parent | 9542f79885a4fd7315a3b0c363c844b2a2c4d09a (diff) | |
download | android_packages_providers_TelephonyProvider-9762ec84c77d8a5d62e994e71e611d1bfe72c82c.tar.gz android_packages_providers_TelephonyProvider-9762ec84c77d8a5d62e994e71e611d1bfe72c82c.tar.bz2 android_packages_providers_TelephonyProvider-9762ec84c77d8a5d62e994e71e611d1bfe72c82c.zip |
Revert "MmsProvider : Add ability to get thread information in search"
This reverts commit aa98e8272dfe7b221f9a42e9a6d63fc90f923063.
Change-Id: I5a91d60f4b7d389287bad1a0151c1e32ed243c33
-rw-r--r-- | src/com/android/providers/telephony/MmsSmsProvider.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/providers/telephony/MmsSmsProvider.java b/src/com/android/providers/telephony/MmsSmsProvider.java index 60fdf43..b23666f 100644 --- a/src/com/android/providers/telephony/MmsSmsProvider.java +++ b/src/com/android/providers/telephony/MmsSmsProvider.java @@ -238,10 +238,8 @@ public class MmsSmsProvider extends ContentProvider { // using a UNION so we have to have the same number of result columns from // both queries. private static final String SMS_MMS_QUERY = - "select threads._id, threads.date, message_count, recipient_ids," - + "snippet, snippet_cs, read, error, has_attachment, body, * from " - + "(" + SMS_QUERY + " UNION " + MMS_QUERY + ") as smsmms,threads where " - + "threads._id=thread_id GROUP BY thread_id ORDER BY thread_id ASC, smsmms.date DESC"; + SMS_QUERY + " UNION " + MMS_QUERY + + " GROUP BY thread_id ORDER BY thread_id ASC, date DESC"; private static final String SMS_PROJECTION = "'sms' AS transport_type, _id, thread_id," + "address, body, sub_id, phone_id, date, date_sent, read, type," |