Commit 8c7742ff authored by Yusuke Iwaki's avatar Yusuke Iwaki

mofigy to ignore Instabug error.

parent 69a7eff1
......@@ -10,6 +10,7 @@ import chat.rocket.android.helper.OnBackPressListener;
import com.instabug.library.InstabugTrackingDelegate;
import com.trello.rxlifecycle.components.support.RxAppCompatActivity;
import icepick.Icepick;
import timber.log.Timber;
abstract class AbstractFragmentActivity extends RxAppCompatActivity {
......@@ -66,7 +67,11 @@ abstract class AbstractFragmentActivity extends RxAppCompatActivity {
}
@Override public boolean dispatchTouchEvent(MotionEvent event) {
InstabugTrackingDelegate.notifyActivityGotTouchEvent(event, this);
try {
InstabugTrackingDelegate.notifyActivityGotTouchEvent(event, this);
} catch (IllegalStateException exception) {
Timber.w(exception, "Instabug error (ignored)");
}
return super.dispatchTouchEvent(event);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment