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

Commit 8432e77b authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am dafcc610: Merge "Don\'t unnecessarily set LayoutParams on children"

* commit 'dafcc610':
  Don't unnecessarily set LayoutParams on children
parents 388aedee dafcc610
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2289,8 +2289,10 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                lp = (LayoutParams) vlp;
            }
            lp.itemId = mAdapter.getItemId(position);
            if (lp != vlp) {
              child.setLayoutParams(lp);
            }
        }

        if (AccessibilityManager.getInstance(mContext).isEnabled()) {
            if (mAccessibilityDelegate == null) {