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

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

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

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

* commit 'efc2714d':
  Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible
parents 62e4af16 efc2714d
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;
    }

    /**