DescriptionClean up setting accessibility focus.
Consolidate the code to set accessibility focus to one place.
Fix it so we never set accessibility focus to the same id twice in a row,
as that puts things in a weird state (because we then get a "clear"
accessibility focus action on the current focused view).
In a couple of places where we want to explicitly update the focus,
set focus away and then back again so Android can't ignore it.
BUG=407871
Committed: https://crrev.com/c1ae0872e4c0336406ad47f6ab332174c3da80d5
Cr-Commit-Position: refs/heads/master@{#292386}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address feedback #Patch Set 3 : Fix return value #Patch Set 4 : Try it with focus clear instead #
Total comments: 1
Messages
Total messages: 13 (0 generated)
|