The code that initializes accessibility events was assuming the AdapterView always has an adapter and this caused NPE. Now the right method of the view is called to get the item count. bug:5474162 Change-Id: I6c330dc2894477df9447a4ecfddc7bd62c575d59
The code that initializes accessibility events was assuming the AdapterView always has an adapter and this caused NPE. Now the right method of the view is called to get the item count. bug:5474162 Change-Id: I6c330dc2894477df9447a4ecfddc7bd62c575d59