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

Commit bf430edf authored by Chris Wren's avatar Chris Wren Committed by Android Git Automerger
Browse files

am e1791add: Merge "add a null check around scrollAdapter access"

* commit 'e1791add':
  add a null check around scrollAdapter access
parents 416d3cac e1791add
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;