am a332605f: am 8fa8b95c: Merge "Respect accessibility importance for before/after node ordering." into mnc-dev

* commit 'a332605fb71fc7f99721bf23a22a6d93b2c4ccec':
  Respect accessibility importance for before/after node ordering.
This commit is contained in:
Svet Ganov
2015-06-02 17:14:13 +00:00
committed by Android Git Automerger

View File

@@ -6351,7 +6351,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
}
View next = rootView.findViewInsideOutShouldExist(this,
mAccessibilityTraversalBeforeId);
if (next != null) {
if (next != null && next.includeForAccessibility()) {
info.setTraversalBefore(next);
}
}
@@ -6363,7 +6363,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
}
View next = rootView.findViewInsideOutShouldExist(this,
mAccessibilityTraversalAfterId);
if (next != null) {
if (next != null && next.includeForAccessibility()) {
info.setTraversalAfter(next);
}
}