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

Commit e4602aeb authored by Adam Cohen's avatar Adam Cohen
Browse files

Reporting toIndex in scroll events (issue 11356512)

Change-Id: I96a97865970e0b9a6760246c4f830f3ceff53f09
parent 917e3885
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) {