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

Commit c4a2b3e8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Widget: Catch null point exception in AbsListViewAutoScroller"

parents 0d264192 2aa919a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -912,7 +912,7 @@ public abstract class AutoScrollHelper implements View.OnTouchListener {
                // Are we already showing the entire first item?
                if (firstPosition <= 0) {
                    final View firstView = target.getChildAt(0);
                    if (firstView.getTop() >= 0) {
                    if (firstView == null || firstView.getTop() >= 0) {
                        return false;
                    }
                }