Skip to content

Commit 84bee4f

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "Fix copyStringToBuffer row index calculation. Bug: 5515552" into ics-mr0
2 parents c43b9b6 + 0772007 commit 84bee4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/database/CursorWindow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public void copyStringToBuffer(int row, int column, CharArrayBuffer buffer) {
478478
}
479479
acquireReference();
480480
try {
481-
nativeCopyStringToBuffer(mWindowPtr, row, column, buffer);
481+
nativeCopyStringToBuffer(mWindowPtr, row - mStartPos, column, buffer);
482482
} finally {
483483
releaseReference();
484484
}

0 commit comments

Comments
 (0)