summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2014-06-16 16:01:03 -0700
committer Selim Cinek <cinek@google.com> 2014-06-16 23:06:49 +0000
commit48e746c3c8356e0cb962da63aa35f0f7412f521f (patch)
tree453a3d990ba752d6cdbbfe7e0066c49b726858bb
parent2c749d242759ea36c0229ea933f22b6363337b19 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java7
1 files 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 4e1b68643169..4cbb06b5ef9b 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) {