commit | 3857ac4b3f24e13bac255d162249dd8b2ccb63ac | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Fri Jun 27 18:01:12 2014 +0200 |
committer | Jorim Jaggi <jjaggi@google.com> | Mon Jun 30 22:53:43 2014 +0200 |
tree | c9f54c8143f00293d47e5961d72b1e3e1a978446 | |
parent | 2580a976ec93a01ed00fae51364ad872bc591d95 [diff] [blame] |
Fix a bug where a short fling resulted in a bad state Change-Id: I43900d1cb72a03e2fb2e6cb2dea44bfad9792fcc
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java index 1e45ce3..c592486 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
@@ -161,6 +161,7 @@ mInitialTouchX = x; mInitialOffsetOnTouch = mExpandedHeight; mTouchSlopExceeded = false; + mJustPeeked = false; if (mVelocityTracker == null) { initVelocityTracker(); } @@ -301,6 +302,7 @@ mInitialTouchY = y; mInitialTouchX = x; mTouchSlopExceeded = false; + mJustPeeked = false; initVelocityTracker(); trackMovement(event); break;