diff options
author | yingleiw <yingleiw@google.com> | 2019-09-26 15:11:33 -0700 |
---|---|---|
committer | yingleiw <yingleiw@google.com> | 2019-10-01 12:25:16 -0700 |
commit | d5b8992727be29ef7b45e6144ac6144ccf1bd2f4 (patch) | |
tree | 3fd753cf8e3f2ba87b4790d42f5ff494a33501a1 /tests/Codegen/src/com/android/codegentest/SampleWithCustomBuilder.java | |
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
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithCustomBuilder.java')
0 files changed, 0 insertions, 0 deletions