commit | 4b9b395f4b50698d52d44e4650536597ab6240f3 | [log] [tgz] |
---|---|---|
author | Scott Kennedy <skennedy@google.com> | Wed Mar 20 17:20:59 2013 -0700 |
committer | Scott Kennedy <skennedy@google.com> | Wed Mar 20 17:20:59 2013 -0700 |
tree | 7e731a9ebd08b0f49cf23adb4ee9643a7ce0b20c | |
parent | 91f8670c16dcb54e8881220dcdb6a53d54dc48d9 [diff] [blame] |
Don't mark anything as seen if our cursor is empty Bug: 8437228 Change-Id: I41cbe6cfb62878d2d5700fdb693e18a6613b91fa
diff --git a/src/com/android/mail/ui/ConversationListFragment.java b/src/com/android/mail/ui/ConversationListFragment.java index 12d2087..589a81c 100644 --- a/src/com/android/mail/ui/ConversationListFragment.java +++ b/src/com/android/mail/ui/ConversationListFragment.java
@@ -791,7 +791,7 @@ } mConversationCursorHash = newCursorHash; - if (newCursor != null) { + if (newCursor != null && newCursor.getCount() > 0) { newCursor.markContentsSeen(); }