Merge "[a11y] Fix talkback column and item count for AllAppsGrid" into main
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user