[chromecast] Prevent ax::Role List with size zero.
Make sure a set the semantic's role as kList only when it has actionable children. Otherwise it is just a GenericContainer. Bug: b/178063833 Test: test on assistant device. Change-Id: Ie309e7bd3b87907fea19dbd1896f886965c7752a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643478Reviewed-by:Randy Rossi <rmrossi@chromium.org> Commit-Queue: Yuanyao Zhong <yyzhong@google.com> Cr-Commit-Position: refs/heads/master@{#845785}
Showing
Please register or sign in to comment