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

Commit f0beb7f8 authored by Dave Kover's avatar Dave Kover Committed by Gerrit Code Review
Browse files

Fix slow anim when using a gesture to open status bar pulldown

When using a custom launcher, like Nova, it is possible to set a
gesture to open the status bar pulldown. It does not open at the
same speed as when using a finder to pull down from the top
of the screen at the status bar. This fixes that.

Change-Id: If3f14f14ef5ed4f14495472d0335cb11d743a5a1
parent 59350eaf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -680,7 +680,7 @@ public abstract class PanelView extends FrameLayout {
            }
            mUpdateExpandOnLayout = isFullyCollapsed();
            mFlingAnimationUtils.apply(animator, mExpandedHeight, target, vel, getHeight());
            if (expandBecauseOfFalsing) {
            if (expandBecauseOfFalsing && vel == 0) {
                animator.setDuration(350);
            }
        } else {