mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix NPE in HackyPager
This commit is contained in:
@@ -47,7 +47,7 @@ public class HackyViewPager extends ViewPager {
|
||||
public boolean onTouchEvent(MotionEvent ev) {
|
||||
try {
|
||||
return super.onTouchEvent(ev);
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
} catch (IndexOutOfBoundsException | NullPointerException e) {
|
||||
Log.w(TAG, e);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user