We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d398e7a + e82ff9e commit e5a023bCopy full SHA for e5a023b
core/java/android/database/AbstractCursor.java
@@ -204,7 +204,7 @@ public final boolean moveToPosition(int position) {
204
* @param window
205
*/
206
public void fillWindow(int position, CursorWindow window) {
207
- if (position < 0 || position > getCount()) {
+ if (position < 0 || position >= getCount()) {
208
return;
209
}
210
window.acquireReference();
0 commit comments