mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Fix edge case in MergeCursor
This commit is contained in:
parent
b0ef68dfed
commit
a54666e020
@ -293,7 +293,7 @@ public class MergeCursor implements Cursor {
|
||||
|
||||
int smallest = -1;
|
||||
for (int i = 0, len = mCursors.length; i < len; i++) {
|
||||
if (mCursors[i] == null || mCursors[i].isLast()) {
|
||||
if (mCursors[i] == null || mCursors[i].getCount() == 0 || mCursors[i].isLast()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user