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

Commit 7ffc2a62 authored by Phil Weaver's avatar Phil Weaver Committed by Android (Google) Code Review
Browse files

Merge "Revert "Don't invalidate list data during layout."" into nyc-mr1-dev

parents e319e733 866ded50
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2160,6 +2160,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
        }

        layoutChildren();
        mInLayout = false;

        mOverscrollMax = (b - t) / OVERSCROLL_LIMIT_DIVISOR;

@@ -2167,7 +2168,6 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
        if (mFastScroll != null) {
            mFastScroll.onItemCountChanged(getChildCount(), mItemCount);
        }
        mInLayout = false;
    }

    /**
@@ -2697,9 +2697,6 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
     * fail to relayout them properly to accommodate for new bounds.
     */
    void handleBoundsChange() {
        if (mInLayout) {
            return;
        }
        final int childCount = getChildCount();
        if (childCount > 0) {
            mDataChanged = true;