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

Commit 27004a33 authored by cnx421's avatar cnx421 Committed by android-build-merger
Browse files

Merge "fix 'int android.view.View.getHeight()' on a null object reference" am:...

Merge "fix 'int android.view.View.getHeight()' on a null object reference" am: 4add708b am: 6a5d589a
am: 3069e2ba

Change-Id: I9ba21d8d6aee9424ffad3fbe2072ef78e3b54455
parents e6e62f99 3069e2ba
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -7794,6 +7794,11 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                mLastSeenPos = firstPos;

                final int childCount = getChildCount();

                if (childCount <= 0) {
                    return;
                }

                final int position = mTargetPos;
                final int lastPos = firstPos + childCount - 1;