commit | 464d0d9b1de2a8c881c7d5d41fe7c0f5c0f5d28e | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri Aug 25 22:07:36 2017 +0000 |
committer | Selim Cinek <cinek@google.com> | Fri Aug 25 22:38:56 2017 +0000 |
tree | e59f47793102da999c162658889499e93886cdfb | |
parent | 2ca798932ea2945184df1c5500b5b9f08af9af55 [diff] [blame] |
Revert "Support keyboard long-press on notifications" This reverts commit 2ca798932ea2945184df1c5500b5b9f08af9af55. Fixes: 65061056 Change-Id: I88bcb549b9e76958d280625a96796791b6f29060
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 9453035..04be357 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -700,7 +700,7 @@ mInitialHeightOnTouch = mQsExpansionHeight; mQsTracking = true; mIntercepting = false; - mNotificationStackScroller.cancelLongPress(); + mNotificationStackScroller.removeLongPressCallback(); } break; case MotionEvent.ACTION_POINTER_UP: @@ -736,7 +736,7 @@ mInitialTouchY = y; mInitialTouchX = x; mIntercepting = false; - mNotificationStackScroller.cancelLongPress(); + mNotificationStackScroller.removeLongPressCallback(); return true; } break;