mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Reporting toIndex in scroll events (issue 11356512)
Change-Id: I96a97865970e0b9a6760246c4f830f3ceff53f09
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user