Merge "Fixed a bug where the QS was animating wrong when closing" into nyc-dev

This commit is contained in:
Selim Cinek
2016-05-12 01:27:53 +00:00
committed by Android (Google) Code Review

View File

@@ -941,6 +941,7 @@ public class NotificationPanelView extends PanelView implements
@Override
public void flingTopOverscroll(float velocity, boolean open) {
mLastOverscroll = 0f;
mQsExpansionFromOverscroll = false;
setQsExpansion(mQsExpansionHeight);
flingSettings(!mQsExpansionEnabled && open ? 0f : velocity, open && mQsExpansionEnabled,
new Runnable() {