commit | 7aa2e1f1948bbddcec5e1edf08e2173171c9bfb7 | [log] [tgz] |
---|---|---|
author | yingleiw <yingleiw@google.com> | Tue Sep 17 11:04:13 2019 -0700 |
committer | yingleiw <yingleiw@google.com> | Tue Sep 17 11:04:13 2019 -0700 |
tree | 70bb7c1a52a6832d46f60eece0a93bd2f6208abe | |
parent | 69235dcbec1d8b9d1213be91ec38d20f9132efa6 [diff] |
Use -1 for ListView CollectionInfo Talkback is supposed to announce the number of "accessibility" items, and some views from the adapter may set importance for accessibility to no. Or one view may contain several children views. This is consistent with what the recyclerview is currently doing. Bug: 140313418 Test: after the change, talkback doesn't announce the number of items in a list. Everything else remains the same. Change-Id: Id05d96562e523ebd746ac4dbb652b0b15bf366a6