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

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

am 2bed570b: Fix bug 3367627 - spontaneous crash

* commit '2bed570b':
  Fix bug 3367627 - spontaneous crash
parents 680e7711 2bed570b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1095,9 +1095,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
     */
    private boolean contentFits() {
        final int childCount = getChildCount();
        if (childCount != mItemCount) {
            return false;
        }
        if (childCount == 0) return true;
        if (childCount != mItemCount) return false;

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