Commit bb7371a5 authored by Yusuke Iwaki's avatar Yusuke Iwaki

rename method "wrap" to "trackTouchEventOnActivity"

parent b5b67f3f
...@@ -77,7 +77,7 @@ abstract class AbstractFragmentActivity extends RxAppCompatActivity { ...@@ -77,7 +77,7 @@ abstract class AbstractFragmentActivity extends RxAppCompatActivity {
@Override @Override
public boolean dispatchTouchEvent(MotionEvent event) { public boolean dispatchTouchEvent(MotionEvent event) {
try { try {
InstabugWrapper.wrap(event, this); InstabugWrapper.trackTouchEventOnActivity(event, this);
} catch (IllegalStateException exception) { } catch (IllegalStateException exception) {
RCLog.w(exception, "Instabug error (ignored)"); RCLog.w(exception, "Instabug error (ignored)");
} }
......
...@@ -10,7 +10,7 @@ public class InstabugWrapper { ...@@ -10,7 +10,7 @@ public class InstabugWrapper {
// stub // stub
} }
public static void wrap(MotionEvent event, Activity activity) { public static void trackTouchEventOnActivity(MotionEvent event, Activity activity) {
// stub // stub
} }
} }
...@@ -17,7 +17,7 @@ public class InstabugWrapper { ...@@ -17,7 +17,7 @@ public class InstabugWrapper {
.build(); .build();
} }
public static void wrap(MotionEvent event, Activity activity) { public static void trackTouchEventOnActivity(MotionEvent event, Activity activity) {
InstabugTrackingDelegate.notifyActivityGotTouchEvent(event, activity); InstabugTrackingDelegate.notifyActivityGotTouchEvent(event, activity);
} }
} }
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