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

Commit d77057a7 authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

Merge "Reporting toIndex in scroll events (issue 11356512)" into jb-ub-now-jetsonic

parents 8590ecd2 e4602aeb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -675,6 +675,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
                    AccessibilityEvent.obtain(AccessibilityEvent.TYPE_VIEW_SCROLLED);
            ev.setItemCount(getChildCount());
            ev.setFromIndex(mCurrentPage);
            ev.setToIndex(getNextPage());

            final int action;
            if (getNextPage() >= mCurrentPage) {