OSDN Git Service

Using wrong virtual view id When prefetching accessibility nodes.
authorSvetoslav <svetoslavganov@google.com>
Fri, 26 Sep 2014 01:46:22 +0000 (18:46 -0700)
committerSvetoslav <svetoslavganov@google.com>
Fri, 26 Sep 2014 01:46:33 +0000 (18:46 -0700)
commitc569d3594574598d54f69b36239d88f7e0d15b7d
tree93bccfca35899daf6699bcec40df8166a760db1f
parent91807556a812d6c46c654869fc699c454eb657d1
Using wrong virtual view id When prefetching accessibility nodes.

When getting an accessibility node info we also prefetch its predecessors,
siblings and descendants up to fifty. If a view has a node provider, i.e.
virtual descendants, and the id of the virtual descendant is not specified
we use a speacial constant to refer that the provider should create a node
for its hosting view. The bug was that we were not using the correct constant
when calling into the provider.

bug:17664111

Change-Id: I4f6b2333e1e7e3e2bb6b164c0752613417c60d16
core/java/android/view/AccessibilityInteractionController.java