summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Attwell <brianattwell@google.com>2014-09-17 18:31:53 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-17 18:31:53 +0000
commita2e5ed6b44a0aefcf807765eb14522c9b039021b (patch)
tree49e30990c1197686fdea3a68bc8ae6c21fb2346c
parentc648e3680d0b5cd0742597fef42c1b8d647ea1d5 (diff)
parent351709ede3134c286548fae58ba00da4a8b518ce (diff)
am 351709ed: am 8ec377d8: Merge "Don\'t double scroll listview in Dialer" into lmp-dev
* commit '351709ede3134c286548fae58ba00da4a8b518ce': Don't double scroll listview in Dialer
-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;
}
}