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

Commit 3e02adb0 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix closing state

Bug: 20940663
Change-Id: I34e2bf4fb3ba9f9ad15e634c4a09883f57b446b2
parent a8545890
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -616,6 +616,9 @@ public abstract class PanelView extends FrameLayout {
            boolean expandBecauseOfFalsing) {
        cancelPeek();
        float target = expand ? getMaxPanelHeight() : 0.0f;
        if (!expand) {
            mClosing = true;
        }
        flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
    }