commit | f91de686014b662e961b0b04e656a7782c3e6525 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Wed May 11 13:01:02 2016 -0400 |
committer | Selim Cinek <cinek@google.com> | Wed May 11 13:01:02 2016 -0400 |
tree | 2e09788c17abddc9248c901c8d843045481aab69 | |
parent | 6ac3fa8ebde529f4bc9d90bc2ac73bcd8634a494 [diff] [blame] |
Fixed a bug where the QS was animating wrong when closing Because the overscroll flag was still set the animation could be wrong. Change-Id: I52adf744c92723590297844bbefef8ecf5c8d737 Fixes: 28511835
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index 5256e4f6..9dbec6d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -941,6 +941,7 @@ @Override public void flingTopOverscroll(float velocity, boolean open) { mLastOverscroll = 0f; + mQsExpansionFromOverscroll = false; setQsExpansion(mQsExpansionHeight); flingSettings(!mQsExpansionEnabled && open ? 0f : velocity, open && mQsExpansionEnabled, new Runnable() {