Skip to content

Commit f0beb7f

Browse files
davekoverGerrit Code Review
authored andcommitted
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
1 parent 59350ea commit f0beb7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/SystemUI/src/com/android/systemui/statusbar/phone

packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ && mExpandedHeight < getMaxPanelHeight() - getClearAllHeight()
680680
}
681681
mUpdateExpandOnLayout = isFullyCollapsed();
682682
mFlingAnimationUtils.apply(animator, mExpandedHeight, target, vel, getHeight());
683-
if (expandBecauseOfFalsing) {
683+
if (expandBecauseOfFalsing && vel == 0) {
684684
animator.setDuration(350);
685685
}
686686
} else {

0 commit comments

Comments
 (0)