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

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

am f43963a1: am a5ddb8e3: am 770e9895: Merge "Fix ObservableScrollView\'s...

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

* commit 'f43963a1':
  Fix ObservableScrollView's cancel dispatch
parents 626f6432 f43963a1
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;