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

Commit 367f8f2e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixing wrong index passed when highlighting a preference during scroll"...

Merge "Fixing wrong index passed when highlighting a preference during scroll" into ub-launcher3-master
parents 9ccff14b 570dac81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ public class ListViewHighlighter implements OnScrollListener, RecyclerListener,
    @Override
    public void onScroll(AbsListView view, int firstVisibleItem,
            int visibleItemCount, int totalItemCount) {
        highlightIfVisible(firstVisibleItem, firstVisibleItem + visibleItemCount);
        highlightIfVisible(firstVisibleItem, firstVisibleItem + visibleItemCount - 1);
    }

    private boolean highlightIfVisible(int start, int end) {