summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-07-21 19:57:54 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-21 19:57:54 -0700
commite224d4f0b78d018022c5f13e84763f1958e9cbf6 (patch)
tree4090294e4c50e3df3ecb16409df22aa54f99c3bb
parent6c8519cf40444f8fc9b6a7aa5e10264ce3e0f50a (diff)
parent521efd8886c256fc2df43adc2eb447b2d67640c4 (diff)
downloadframeworks_base-e224d4f0b78d018022c5f13e84763f1958e9cbf6.zip
frameworks_base-e224d4f0b78d018022c5f13e84763f1958e9cbf6.tar.gz
frameworks_base-e224d4f0b78d018022c5f13e84763f1958e9cbf6.tar.bz2
Merge "Prevent notification swipes from getting canceled too soon."
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/policy/NotificationRowLayout.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NotificationRowLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NotificationRowLayout.java
index b4d2a14..d5885bb 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NotificationRowLayout.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NotificationRowLayout.java
@@ -148,6 +148,11 @@ public class NotificationRowLayout extends ViewGroup {
"now sliding child %d: %s (touchY=%.1f, rowHeight=%d, count=%d)",
childIdx, mSlidingChild, mInitialTouchY, mRowHeight, count));
}
+
+
+ // We need to prevent the surrounding ScrollView from intercepting us now;
+ // the scroll position will be locked while we swipe
+ requestDisallowInterceptTouchEvent(true);
}
}
break;