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

Commit e1791add authored by Chris Wren's avatar Chris Wren Committed by Android (Google) Code Review
Browse files

Merge "add a null check around scrollAdapter access"

parents 47bbaea4 de3b1a2b
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;