summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dialer/widget/ViewDragHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/widget/ViewDragHelper.java b/src/com/android/dialer/widget/ViewDragHelper.java
index 3d55ad47c..91016d15b 100644
--- a/src/com/android/dialer/widget/ViewDragHelper.java
+++ b/src/com/android/dialer/widget/ViewDragHelper.java
@@ -1487,8 +1487,8 @@ public class ViewDragHelper {
if (consumed != null) {
final int unconsumedX = targetX - mCapturedView.getLeft();
final int unconsumedY = targetY - mCapturedView.getTop();
- consumed[0] = dx - unconsumedX;
- consumed[1] = dy - unconsumedY;
+ consumed[0] = unconsumedX - dx;
+ consumed[1] = unconsumedY - dy;
}
}