Skip to content
Snippets Groups Projects
Commit 0505f7f2 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Terminate loop properly when cursor window is full." into mnc-dev

parents c45d6c30 bb8c841e
No related branches found
No related tags found
No related merge requests found
......@@ -270,7 +270,7 @@ public class DatabaseUtils {
window.setStartPosition(position);
window.setNumColumns(numColumns);
if (cursor.moveToPosition(position)) {
do {
rowloop: do {
if (!window.allocRow()) {
break;
}
......@@ -307,7 +307,7 @@ public class DatabaseUtils {
}
if (!success) {
window.freeLastRow();
break;
break rowloop;
}
}
position += 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment