From 91c39ef7f2fb1b678658a037f2e055062ee2d9c3 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Mon, 7 Apr 2014 21:18:09 +0200 Subject: [PATCH] QuickSettings was inaccessible sometimes with empty shade. Fixed access to QuickSettings, when the shade was not full. Bug: 13879008 Change-Id: Ie8c88b91eb397dcb4d78834acfc2e2ab2a24bed9 --- .../src/com/android/systemui/statusbar/phone/PanelView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ec35d41ea5571..20fb225c83821 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java @@ -529,7 +529,6 @@ public class PanelView extends FrameLayout { switch (event.getActionMasked()) { case MotionEvent.ACTION_DOWN: - mTracking = true; if (mHandleView != null) { mHandleView.setPressed(true); // catch the press state change @@ -561,6 +560,7 @@ public class PanelView extends FrameLayout { if (h < -mTouchSlop) { mInitialOffsetOnTouch = mExpandedHeight; mInitialTouchY = y; + mTracking = true; return true; } }