From 48e746c3c8356e0cb962da63aa35f0f7412f521f Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Mon, 16 Jun 2014 16:01:03 -0700 Subject: [PATCH] Fixed a bug in the scrolling logic When the user overflung to go to the quicksettings panel the scroll logic remained active and was not reset. Change-Id: Iab733f3525d5465c5dc583559d0acbc350274171 --- .../statusbar/stack/NotificationStackScrollLayout.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java index 4e1b68643169f..4cbb06b5ef9bf 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -762,11 +762,12 @@ public class NotificationStackScrollLayout extends ViewGroup } } } - - mActivePointerId = INVALID_POINTER; - endDrag(); } + + mActivePointerId = INVALID_POINTER; + endDrag(); } + break; case MotionEvent.ACTION_CANCEL: if (mIsBeingDragged && getChildCount() > 0) {