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

Commit f43963a1 authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am a5ddb8e3: am 770e9895: Merge "Fix ObservableScrollView\'s cancel dispatch" into mnc-dev

* commit 'a5ddb8e3':
  Fix ObservableScrollView's cancel dispatch
parents ddfdfc49 a5ddb8e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class ObservableScrollView extends ScrollView {
        } else if (!mTouchEnabled) {
            MotionEvent cancel = MotionEvent.obtain(ev);
            cancel.setAction(MotionEvent.ACTION_CANCEL);
            super.dispatchTouchEvent(ev);
            super.dispatchTouchEvent(cancel);
            cancel.recycle();
            mTouchCancelled = true;
            return false;