Skip to content

Commit e5a023b

Browse files
author
The Android Open Source Project
committed
merge from open-source master
Change-Id: I8e7ccd470e8b90347686985aa2d8337d0c38900c
2 parents d398e7a + e82ff9e commit e5a023b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/database/AbstractCursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public final boolean moveToPosition(int position) {
204204
* @param window
205205
*/
206206
public void fillWindow(int position, CursorWindow window) {
207-
if (position < 0 || position > getCount()) {
207+
if (position < 0 || position >= getCount()) {
208208
return;
209209
}
210210
window.acquireReference();

0 commit comments

Comments
 (0)