Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e82ff9ed authored by Romain Guy's avatar Romain Guy Committed by Android Code Review
Browse files

Merge "fillWindow's start position must be smaller than getCount value"

parents 893e2b62 6d3acde8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ public abstract class AbstractCursor implements CrossProcessCursor {
     * @param window
     */
    public void fillWindow(int position, CursorWindow window) {
        if (position < 0 || position > getCount()) {
        if (position < 0 || position >= getCount()) {
            return;
        }
        window.acquireReference();