Fixed a bug where the scroller would stop tracking

Because we were not scrolling anymore in the QS area the shade
could become stuck and scrolled in too much.

Change-Id: I2c517d0a8da35230d0510c2a6b0e817d8d3567af
Fixes: 31440725
This commit is contained in:
Selim Cinek
2016-09-27 16:31:21 -07:00
parent 880e823e9e
commit ecfc6b52ec

View File

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