diff options
author | Yorke Lee <yorkelee@google.com> | 2014-05-14 12:03:29 -0700 |
---|---|---|
committer | The Android Automerger <android-build@android.com> | 2014-05-14 15:13:41 -0700 |
commit | 38f65cf60a5ac8c74587657bd3537bb8db2aabf5 (patch) | |
tree | 9ae1fcf19deffe88bacb2ac2d94ed110a3c44557 | |
parent | c5d805c89ee5dae09e6a5655b6587902244b619c (diff) |
Fix NPE in dispatchViewReleased
Bug: 14911975
Change-Id: I9899f6dbe9808dd88dc40261c7d27bf06afebe32
-rw-r--r-- | src/com/android/dialer/widget/ViewDragHelper.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/dialer/widget/ViewDragHelper.java b/src/com/android/dialer/widget/ViewDragHelper.java index 83e870775..6881e4b8f 100644 --- a/src/com/android/dialer/widget/ViewDragHelper.java +++ b/src/com/android/dialer/widget/ViewDragHelper.java @@ -1464,6 +1464,7 @@ public class ViewDragHelper { * @param target The child view that is dispatching the nested scroll. */ public void stopNestedScroll(View target) { + mCapturedView = target; dispatchViewReleased(0, 0); } |