summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-02-06 12:41:17 -0800
committerSvet Ganov <svetoslavganov@google.com>2015-02-06 12:41:21 -0800
commit55bdb10c168615ee7721c657e0633b3aefbff777 (patch)
treeba7f783d50c410cb6174b7d95dd4ecd8d9d2e239 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6cad6513e0058467d11f4cf99519cf79eb65d48f (diff)
Accessibility: ignore children of a view with node provider.
A view that has an accessibility node provider should not have real children since the provider is responsible to generate the node infos for the subtree rooted at its hosting view. This is how the APIs are designed to work. However, it is a common mistake and if this occurs the accessibility services introspecting the screen get into an infinite loop. The framework now does not add the real children of a view with a node provider to the list of accessibility children. If the developer wants them exposed they have to do that via the provider APIs as per contract. bug:19297093 Change-Id: I1b01b1e4a85e1c397886fcd2506b434beb063687
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions