Skip to content

Commit c0c684a

Browse files
committed
comment CustomSwipeRefreshLayout.onTouchEvent
1 parent 757b720 commit c0c684a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WordPressUtils/src/main/java/org/wordpress/android/util/ptr/CustomSwipeRefreshLayout.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ public boolean onTouchEvent(MotionEvent event) {
2222
try{
2323
return super.onTouchEvent(event);
2424
} catch(IllegalArgumentException e) {
25+
// Fix for https://github.com/wordpress-mobile/WordPress-Android/issues/2373
26+
// Catch IllegalArgumentException which can be fired by the underlying SwipeRefreshLayout.onTouchEvent()
27+
// method.
28+
// When android support-v4 fixes it, we'll have to remove that custom layout completely.
2529
AppLog.e(T.UTILS, e);
2630
return true;
2731
}

0 commit comments

Comments
 (0)