Merge "Fixed a bug where the QS was animating wrong when closing" into nyc-dev
am: d6ee33e840
* commit 'd6ee33e84069846b0907948f8972978c30b34a3c':
Fixed a bug where the QS was animating wrong when closing
Change-Id: I9147fbee9d8acb25700b50a2688c565c8c097f4c
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user