summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/CropView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/CropView.java')
-rw-r--r--src/com/android/launcher3/CropView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher3/CropView.java b/src/com/android/launcher3/CropView.java
index 32c590d91..c4d1475c6 100644
--- a/src/com/android/launcher3/CropView.java
+++ b/src/com/android/launcher3/CropView.java
@@ -44,6 +44,7 @@ public class CropView extends TiledImageView implements OnScaleGestureListener {
public interface TouchCallback {
void onTouchDown();
void onTap();
+ void onTouchUp();
}
public CropView(Context context) {
@@ -202,6 +203,7 @@ public class CropView extends TiledImageView implements OnScaleGestureListener {
now < mTouchDownTime + ViewConfiguration.getTapTimeout()) {
mTouchCallback.onTap();
}
+ mTouchCallback.onTouchUp();
}
if (!mTouchEnabled) {