Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0abb479d authored by Selim Cinek's avatar Selim Cinek Committed by Android Git Automerger
Browse files

am ced9ab11: am 19694a0e: am 4140a21e: Merge "Fix scrolling of QS panel when...

am ced9ab11: am 19694a0e: am 4140a21e: Merge "Fix scrolling of QS panel when no notification is present."

* commit 'ced9ab11':
  Fix scrolling of QS panel when no notification is present.
parents 199867c0 ced9ab11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2156,6 +2156,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();
@@ -2169,7 +2170,6 @@ public class NotificationStackScrollLayout extends ViewGroup
                mLastMotionY = y;
                mDownX = (int) ev.getX();
                mActivePointerId = ev.getPointerId(0);
                mScrolledToTopOnFirstDown = isScrolledToTop();

                initOrResetVelocityTracker();
                mVelocityTracker.addMovement(ev);