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

Commit a0eb87db authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 7619 into donut

* changes:
  Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus search.
parents abccd7ea 6bdbfcfa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -720,7 +720,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
    @Override
    public void getFocusedRect(Rect r) {
        View view = getSelectedView();
        if (view != null) {
        if (view != null && view.getParent() == this) {
            // the focused rectangle of the selected view offset into the
            // coordinate space of this view.
            view.getFocusedRect(r);