diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 761808c..8708104 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -1610,8 +1610,6 @@ public class PhoneStatusBar extends StatusBar { } else { mLinger++; } - } else { - mLinger = 0; } } } else { @@ -1620,6 +1618,7 @@ public class PhoneStatusBar extends StatusBar { } } else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { + mLinger = 0; mVelocityTracker.computeCurrentVelocity(1000); float yVel = mVelocityTracker.getYVelocity(); |