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

Commit de3b1a2b authored by Chris Wren's avatar Chris Wren
Browse files

add a null check around scrollAdapter access

Bug: 13727213
Change-Id: Ia92c06b66fc4712a758bf813c30f543b08546a80
parent 8bfe0555
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -407,7 +407,8 @@ public class ExpandHelper implements Gefingerpoken, OnClickListener {
            }

            case MotionEvent.ACTION_DOWN:
                mWatchingForPull = isInside(mScrollAdapter.getHostView(), x, y);
                mWatchingForPull = mScrollAdapter != null &&
                        isInside(mScrollAdapter.getHostView(), x, y);
                mLastMotionY = y;
                break;