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

* commit '8fa8b95c9d38183497f08efc6bdf4d2c56a4116c':
  Respect accessibility importance for before/after node ordering.
This commit is contained in:
Svet Ganov
2015-06-02 16:57:18 +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);
}
}