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

Commit 79fb6dfb authored by Kevin Lim's avatar Kevin Lim Committed by Android (Google) Code Review
Browse files

Merge "[a11y] Fix talkback column and item count for AllAppsGrid" into main

parents 345901fd d05a9488
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -124,6 +124,12 @@ public class AllAppsGridAdapter<T extends Context & ActivityContext> extends
                    getRowsNotForAccessibility(mApps.getAdapterItems().size() - 1);
        }

        @Override
        public int getColumnCountForAccessibility(RecyclerView.Recycler recycler,
                RecyclerView.State state) {
            return mAppsPerRow;
        }

        @Override
        public void onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler,
                RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) {