summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2016-04-11 15:32:09 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-04-20 09:49:12 -0700
commit9878124adb6f4de9dae0d9eb76102e993fc0b9a9 (patch)
tree2d1b51c1e187125e239b3a96c368b42d2a2bfbf0
parentb90fd3dffab403f6eeccddc75188f335c159e8e7 (diff)
downloadframeworks_base-9878124adb6f4de9dae0d9eb76102e993fc0b9a9.zip
frameworks_base-9878124adb6f4de9dae0d9eb76102e993fc0b9a9.tar.gz
frameworks_base-9878124adb6f4de9dae0d9eb76102e993fc0b9a9.tar.bz2
Lockscreen : Fix dead-zone in bottom area
Use rawY for intercept calcualtion due to the dynamic height nature of the bottom area view. Change-Id: I5b217ca3c4f43559b9e50ec49f97a7307c03bcea
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
index 581b50b..f1820b3 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -1115,7 +1115,7 @@ public class NotificationPanelView extends PanelView implements
private void handleQsDown(MotionEvent event) {
if (event.getActionMasked() == MotionEvent.ACTION_DOWN
- && shouldQuickSettingsIntercept(event.getX(), event.getY(), -1)) {
+ && shouldQuickSettingsIntercept(event.getX(), event.getRawY(), -1)) {
mQsTracking = true;
onQsExpansionStarted();
mInitialHeightOnTouch = mQsExpansionHeight;