diff options
author | Tom Taylor <tomtaylor@google.com> | 2010-04-23 09:39:57 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-04-23 09:39:57 -0700 |
commit | 95569f5452ba96217a1e1a74f623697c3e57b3a5 (patch) | |
tree | a63af6699972f78f11bbe6978c0c41fdfdaf6912 | |
parent | ae000a474883f89e4529e2d1b8e3cbd862bc820e (diff) | |
parent | 6bbfd941885c588cc5d94e345d2cfc4197134a19 (diff) | |
download | Mms-95569f5452ba96217a1e1a74f623697c3e57b3a5.tar.gz |
am 6bbfd941: Fix unread notifications
Merge commit '6bbfd941885c588cc5d94e345d2cfc4197134a19' into froyo-plus-aosp
* commit '6bbfd941885c588cc5d94e345d2cfc4197134a19':
Fix unread notifications
-rw-r--r-- | src/com/android/mms/data/Conversation.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/mms/data/Conversation.java b/src/com/android/mms/data/Conversation.java index 968244e9..aa248e0c 100644 --- a/src/com/android/mms/data/Conversation.java +++ b/src/com/android/mms/data/Conversation.java @@ -46,7 +46,7 @@ public class Conversation { Threads.READ }; - private static final String UNREAD_SELECTION = "read=0 OR seen=0"; + private static final String UNREAD_SELECTION = "(read=0 OR seen=0)"; private static final String[] SEEN_PROJECTION = new String[] { "seen" @@ -616,7 +616,7 @@ public class Conversation { } // Fill in as much of the conversation as we can before doing the slow stuff of looking // up the contacts associated with this conversation. - String recipientIds = c.getString(RECIPIENT_IDS); + String recipientIds = c.getString(RECIPIENT_IDS); ContactList recipients = ContactList.getByIds(recipientIds, allowQuery); synchronized (conv) { conv.mRecipients = recipients; @@ -922,7 +922,7 @@ public class Conversation { try { if (c.moveToFirst()) { fillFromCursor(mContext, this, c, allowQuery); - + if (threadId != mThreadId) { LogTag.error("loadFromThreadId: fillFromCursor returned differnt thread_id!" + " threadId=" + threadId + ", mThreadId=" + mThreadId); |