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

Commit 4add708b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents cbc40998 26c15a11
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -7700,6 +7700,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;