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

Commit dafcc610 authored by Adam Powell's avatar Adam Powell Committed by Gerrit Code Review
Browse files

Merge "Don't unnecessarily set LayoutParams on children"

parents 07291ccc 17fceded
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) {