Kaydet (Commit) ef990c71 authored tarafından Siqi Liu's avatar Siqi Liu Kaydeden (comit) Miklos Vajna

remove unused boolean (propagating touchEvent instead of intercepting it)

Change-Id: If05cf04414572fea809104c7fed309afb2438bfd
üst 75f5168c
......@@ -27,7 +27,6 @@ public class OnSlideSwipeListener implements OnTouchListener {
@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velX, float velY) {
boolean result = false;
try {
float diffY = e2.getY() - e1.getY();
float diffX = e2.getX() - e1.getX();
......@@ -40,7 +39,6 @@ public class OnSlideSwipeListener implements OnTouchListener {
onSwipeLeft();
}
}
result = true;
}
} catch (Exception exception) {
exception.printStackTrace();
......
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