commit | a88ee6f588271b0ebc06284cc9a276ebc2ad214c | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Tue Feb 11 14:20:16 2020 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Wed Feb 19 16:12:10 2020 +0800 |
tree | c3621e1497f694882ac8a534ed391809be65e3b5 | |
parent | 1c4cb8be3b8a1993cf04e28ca83b744c6c3a474f [diff] |
Adjust the logic of isImportantForAccessibility According to the logic in #isImportantForAccessibility, SurfaceView wouldn't be important by default. This results in the A11yNodeInfo generated by this SurfaceView isn't important. If this SurfaceView hosts an embedded hierarchy, the accessibility services may ignore it. Hence, it couldn't compose the complete node tree. Bug: 149266686 Test: a11y CTS & unit tests Change-Id: I90d9f043339d2ad72607e8ae8c8dfc2c1b0f004d