[go: nahoru, domu]

Skip to content

Commit

Permalink
comment CustomSwipeRefreshLayout.onTouchEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
maxme committed Feb 27, 2015
1 parent 757b720 commit c0c684a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ public boolean onTouchEvent(MotionEvent event) {
try{
return super.onTouchEvent(event);
} catch(IllegalArgumentException e) {
// Fix for https://github.com/wordpress-mobile/WordPress-Android/issues/2373
// Catch IllegalArgumentException which can be fired by the underlying SwipeRefreshLayout.onTouchEvent()
// method.
// When android support-v4 fixes it, we'll have to remove that custom layout completely.
AppLog.e(T.UTILS, e);
return true;
}
Expand Down

0 comments on commit c0c684a

Please sign in to comment.