commit | d5b8992727be29ef7b45e6144ac6144ccf1bd2f4 | [log] [tgz] |
---|---|---|
author | yingleiw <yingleiw@google.com> | Thu Sep 26 15:11:33 2019 -0700 |
committer | yingleiw <yingleiw@google.com> | Tue Oct 01 12:25:16 2019 -0700 |
tree | 3fd753cf8e3f2ba87b4790d42f5ff494a33501a1 | |
parent | 69235dcbec1d8b9d1213be91ec38d20f9132efa6 [diff] |
Separator in AbsListView should not be clickable In ListAdapter, isEnabled (int position) returns true if the item at the specified position is not a separator. (A separator is a non-selectable, non-clickable item). So we should not set it to clickable in accessibility node info when the item is disabled. Bug: 140017328 Test: After the fix, talkback focus will skip the separator in linear navigation. Change-Id: Id0a76a2f93b8af730dab1a808dc24a0ae24bcee0