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 f34c956 commit f132045
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 f132045

Please sign in to comment.