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

Commit fe5d9f52 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by Android Git Automerger
Browse files

am a0eb87db: Merge change 7619 into donut

Merge commit 'a0eb87db'

* commit 'a0eb87db':
  Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus
parents 317620c7 a0eb87db
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);