Revert "Use correct position when moveToNext() in underlying fails"
This reverts commit 2b35105ac3b111e212504d7f77419c3c7fd559c0
Change-Id: I850557ac8967bcbb35bbb4c3474a5223dd3a6b93
diff --git a/src/com/android/mail/browse/ConversationCursor.java b/src/com/android/mail/browse/ConversationCursor.java
index cdff2fc..7f9d3c8 100644
--- a/src/com/android/mail/browse/ConversationCursor.java
+++ b/src/com/android/mail/browse/ConversationCursor.java
@@ -759,7 +759,7 @@
while (true) {
boolean ret = mUnderlyingCursor.moveToNext();
if (!ret) {
- mPosition = getCount() - mDeletedCount;
+ mPosition = getCount();
// STOPSHIP
LogUtils.i(TAG, "*** moveToNext returns false; pos = %d, und = %d, del = %d",
mPosition, mUnderlyingCursor.getPosition(), mDeletedCount);