Fixed a bug where the scroller would stop tracking

am: ecfc6b52ec

Change-Id: I3f8cfbaa26a90f62246fb5161e4b4cc853a9832c
This commit is contained in:
Selim Cinek
2016-09-29 21:17:12 +00:00
committed by android-build-merger

View File

@@ -1228,7 +1228,7 @@ public class NotificationStackScrollLayout extends ViewGroup
if (!isScrollingEnabled()) { if (!isScrollingEnabled()) {
return false; return false;
} }
if (ev.getY() < mQsContainer.getBottom()) { if (ev.getY() < mQsContainer.getBottom() && !mIsBeingDragged) {
return false; return false;
} }
mForcedScroll = null; mForcedScroll = null;