diff options
author | Yorke Lee <yorkelee@google.com> | 2014-05-14 12:03:29 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-05-14 12:03:39 -0700 |
commit | 143498533e1acc163c1d3c49290d1270a130b9e6 (patch) | |
tree | 9ae1fcf19deffe88bacb2ac2d94ed110a3c44557 | |
parent | 9a67810e610e25fbe43882ee049a08a1bb7cc2c3 (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); } |