summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorPhil Weaver <pweaver@google.com>2017-03-23 12:21:53 -0700
committerPhil Weaver <pweaver@google.com>2017-03-29 15:34:30 +0000
commitec66fb8f99b80a775a6796439e9fb5ec071e1153 (patch)
tree838c33abb6062f6cfac36d377d114b014c326906 /tools/aapt2/diff/Diff.cpp
parent92b324282707e7eb4a52e48d9d5af8c75ef6316c (diff)
Fix problem with ListView accessibility focus
A scrap view was retaining accessibility focus, leading to a confusing experience for screen reader users. Part of the problem is that views can change even when the adapter has stable ids. This change tightens the condition for restoring a11y focus to the same view. AbsListView also allowed scrap views to maintain a11y focus. While this may make sense if the views will be reused, it is wrong if the views are not reused. Bug: 29403113 Test: Verified that a11y focus stays put when toggling the preference: Settings -> System -> Language & input -> Virtual keyboards -> Advanced -> Symbol for physical keyboard Change-Id: Ie4a15027088f158d9ed4bb3f3eeff5a288c25832 (cherry picked from commit ab4717aa2a7d0e19f4b08b2c851a541f9b0c9c6b)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions