arc-a11y: Handle VIEW_SELECTED event appropriately
When user press tab in ListView, VIEW_SELECTED event is dispatched. This event is not only dispatched from the newly selected node but also from List itself and child nodes of it. Previously filtering out these event were took place in Android AccessibilityService side. This CL migrates the event handling to Chrome side. Also, this type of event was converted to chrome selection event, but focus event is more appropriate. This CL also fixes it. Bug: b/148837372 Bug: b/146916101 Bug: b/143336586 Bug: b/139645142 Bug: b/152374820 Test: unit_tests --gtest_filter="AXTreeSourceArcTest.*" Test: manual with ag/10901596. tab navigation works in PlayStore hamburger menu and talkback test appp list menu. Change-Id: Ia8d2f3bb71dcb5a9b9b796dc89e4d8d2a733a940 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2129381 Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Sara Kato <sarakato@chromium.org> Cr-Commit-Position: refs/heads/master@{#756140}
Showing
Please register or sign in to comment