diff options
| author | 2015-09-12 01:30:14 +0000 | |
|---|---|---|
| committer | 2015-09-12 01:30:14 +0000 | |
| commit | ced9ab11a1ffbaf066859122603e9d22a4bdc344 (patch) | |
| tree | 9d60743d9aa552edddf3a95406b929febbc9b6e7 | |
| parent | f9a75e1a8402ce628eaa0471b35367f6055cbaa8 (diff) | |
| parent | 19694a0eeffd224189615ed761a5f8e4f912b343 (diff) | |
am 19694a0e: am 4140a21e: Merge "Fix scrolling of QS panel when no notification is present."
* commit '19694a0eeffd224189615ed761a5f8e4f912b343':
Fix scrolling of QS panel when no notification is present.
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java | 2 |
1 files changed, 1 insertions, 1 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 a7fe71ea45e5..ae086d4ab12f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -2145,6 +2145,7 @@ public class NotificationStackScrollLayout extends ViewGroup case MotionEvent.ACTION_DOWN: { final int y = (int) ev.getY(); + mScrolledToTopOnFirstDown = isScrolledToTop(); if (getChildAtPosition(ev.getX(), y) == null) { setIsBeingDragged(false); recycleVelocityTracker(); @@ -2158,7 +2159,6 @@ public class NotificationStackScrollLayout extends ViewGroup mLastMotionY = y; mDownX = (int) ev.getX(); mActivePointerId = ev.getPointerId(0); - mScrolledToTopOnFirstDown = isScrolledToTop(); initOrResetVelocityTracker(); mVelocityTracker.addMovement(ev); |