Fix copyStringToBuffer row index calculation.
Bug: 5515552 Change-Id: I60aa25d2becd3195d6997d23ef5654a31e93bf71
This commit is contained in:
@@ -478,7 +478,7 @@ public class CursorWindow extends SQLiteClosable implements Parcelable {
|
||||
}
|
||||
acquireReference();
|
||||
try {
|
||||
nativeCopyStringToBuffer(mWindowPtr, row, column, buffer);
|
||||
nativeCopyStringToBuffer(mWindowPtr, row - mStartPos, column, buffer);
|
||||
} finally {
|
||||
releaseReference();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user