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

Commit 1470f9c2 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 3326380 - ListView motion scrolling stops too early when list is padded"

parents 33a385bc a13fc67b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4218,7 +4218,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
            return incrementalDeltaY != 0;
        }

        if (firstPosition + childCount == mItemCount && lastBottom <= end &&
        if (firstPosition + childCount == mItemCount &&
                lastBottom <= getHeight() - listPadding.bottom &&
                incrementalDeltaY <= 0) {
            // Don't need to move views up if the bottom of the last position
            // is already visible