Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelaela committed Oct 23, 2015
1 parent 91676c5 commit 684ee8b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -45,8 +45,10 @@ private MotionEvent swapTouchEvent(MotionEvent event) {

@Override
public boolean onInterceptTouchEvent(MotionEvent event) {
boolean intercept = super.onInterceptTouchEvent(swapTouchEvent(event));
//If not intercept, touch event should not be swapped.
swapTouchEvent(event);
return super.onInterceptTouchEvent(swapTouchEvent(event));
return intercept;
}

@Override
Expand Down

0 comments on commit 684ee8b

Please sign in to comment.