Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fa8b95c authored by Svet Ganov's avatar Svet Ganov Committed by Android (Google) Code Review
Browse files

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

parents 54310008 2dca7ca9
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -6351,7 +6351,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            }
            }
            View next = rootView.findViewInsideOutShouldExist(this,
            View next = rootView.findViewInsideOutShouldExist(this,
                    mAccessibilityTraversalBeforeId);
                    mAccessibilityTraversalBeforeId);
            if (next != null) {
            if (next != null && next.includeForAccessibility()) {
                info.setTraversalBefore(next);
                info.setTraversalBefore(next);
            }
            }
        }
        }
@@ -6363,7 +6363,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            }
            }
            View next = rootView.findViewInsideOutShouldExist(this,
            View next = rootView.findViewInsideOutShouldExist(this,
                    mAccessibilityTraversalAfterId);
                    mAccessibilityTraversalAfterId);
            if (next != null) {
            if (next != null && next.includeForAccessibility()) {
                info.setTraversalAfter(next);
                info.setTraversalAfter(next);
            }
            }
        }
        }