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

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

am 1914971c: Merge "Fix bug 3242393 - overscroll effect missing from lists...

am 1914971c: Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible" into honeycomb

* commit '1914971c':
  Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible
parents 09176dcb 1914971c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1098,7 +1098,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
        if (childCount == 0) return true;
        if (childCount != mItemCount) return false;

        return getChildAt(0).getTop() >= 0 && getChildAt(childCount - 1).getBottom() <= mBottom;
        return getChildAt(0).getTop() >= mListPadding.top &&
                getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom;
    }

    /**