commit | 65d532a1d97683fbb391857eceb5b5b86e66a62c | [log] [tgz] |
---|---|---|
author | Mark Wagner <mxw@google.com> | Wed Mar 17 11:37:57 2010 -0700 |
committer | Mark Wagner <mxw@google.com> | Wed Mar 17 11:37:57 2010 -0700 |
tree | 1aec301260ee3dcb4861c3388d2a7f63a14fed80 | |
parent | 1e47c4888938f8abbe581707b8762d49c12b9b7a [diff] |
do not exlucde null address rows in search Change-Id: Ic97690aa3816b6004c87551064d8260e887bf45f
diff --git a/src/com/android/providers/telephony/MmsSmsProvider.java b/src/com/android/providers/telephony/MmsSmsProvider.java index 84d130d..bfe41ab 100644 --- a/src/com/android/providers/telephony/MmsSmsProvider.java +++ b/src/com/android/providers/telephony/MmsSmsProvider.java
@@ -364,7 +364,7 @@ // search on the words table but return the rows from the corresponding sms table String smsQuery = String.format( - "SELECT %s FROM sms,words WHERE (address NOTNULL AND words MATCH ? " + + "SELECT %s FROM sms,words WHERE (words MATCH ? " + " AND sms._id=words.source_id AND words.table_to_use=1) ", smsProjection);