Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f91de686 authored by Selim Cinek's avatar Selim Cinek
Browse files

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
parent 6ac3fa8e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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() {