diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-10-28 22:47:46 +0100 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-10-30 15:35:38 +0100 |
commit | 0b1528aac46007f94f0e073143708240b0c7c144 (patch) | |
tree | f3915dd4a8f7bade6bf7a68e15c2a5bae4ee695d /packages/SystemUI/src/com/android/systemui/statusbar | |
parent | d3a8c8aa530e6c1a605f469df7b378f688e7905a (diff) | |
download | frameworks_base-0b1528aac46007f94f0e073143708240b0c7c144.zip frameworks_base-0b1528aac46007f94f0e073143708240b0c7c144.tar.gz frameworks_base-0b1528aac46007f94f0e073143708240b0c7c144.tar.bz2 |
Make status bar expanding more tightly coupled to finger
Improves the "direct modification" feeling a bit.
Bug: 17040206
Change-Id: Ide4bfb36aef584da36e0340bc2ed099e2e24c0ee
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 0ddda8a..0cf2d05 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java @@ -284,7 +284,7 @@ public abstract class PanelView extends FrameLayout { || mInitialOffsetOnTouch == 0f)) { mTouchSlopExceeded = true; if (waitForTouchSlop && !mTracking) { - if (!mJustPeeked) { + if (!mJustPeeked && mInitialOffsetOnTouch != 0f) { mInitialOffsetOnTouch = mExpandedHeight; mInitialTouchX = x; mInitialTouchY = y; |