DescriptionAlways send TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED.
This logic was borrowed from ExploreByTouchHelper, but apparently it's wrong,
because TalkBack sends ACTION_ACCESSIBILITY_FOCUS on a new view id and
then ACTION_CLEAR_ACCESSIBILITY_FOCUS on the old view id, and since we didn't
think the old view had accessibility focus, we never responded with
a TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED event, so the framework would sometimes
not update its cache, and TalkBack could think the old view still had
accessibility focus.
BUG=458343
Committed: https://crrev.com/ba0498563648b585274589f947bb57cffcdc0278
Cr-Commit-Position: refs/heads/master@{#316238}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|