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

Commit e04b73c9 authored by Phil Weaver's avatar Phil Weaver Committed by android-build-merger
Browse files

Merge "Use newest scrap view in ListView" into oc-dev

am: ecc0e16e

Change-Id: I20da3472569c1882f88a56b0e4fd720f75396f7d
parents edfa1561 ecc0e16e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7088,7 +7088,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
            final int size = scrapViews.size();
            if (size > 0) {
                // See if we still have a view for this position or ID.
                for (int i = 0; i < size; i++) {
                // Traverse backwards to find the most recently used scrap view
                for (int i = size - 1; i >= 0; i--) {
                    final View view = scrapViews.get(i);
                    final AbsListView.LayoutParams params =
                            (AbsListView.LayoutParams) view.getLayoutParams();