From ecfc6b52ecbcb822978a6a7b646f0880042f1a77 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Tue, 27 Sep 2016 16:31:21 -0700 Subject: [PATCH] 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 --- .../systemui/statusbar/stack/NotificationStackScrollLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3e339d8b29406..84a2770841b04 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -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;