diff options
author | Siqi Liu <me@siqi.fr> | 2015-02-28 22:07:36 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-02 08:51:02 +0100 |
commit | ef990c71e4f4eb703bc8175e26e3853b0d6486ca (patch) | |
tree | 1a5ac1afb6bfce6aaf619a2b2756e65e543e795a /android | |
parent | 75f5168c031916a8dec7d158e2b36fa983fff10f (diff) |
remove unused boolean (propagating touchEvent instead of intercepting it)
Change-Id: If05cf04414572fea809104c7fed309afb2438bfd
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java index 1dc33f62cfbb..b1ee37e04d3e 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/OnSlideSwipeListener.java @@ -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(); |