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

Commit 6d3acde8 authored by Tatsuo Nagamatsu's avatar Tatsuo Nagamatsu
Browse files

fillWindow's start position must be smaller than getCount value

Change-Id: I3664ae8f6172f02bf6e2472320e79e3bf8683cc0
parent fb59fbf1
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();