summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java5
1 files changed, 4 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 d8ddd20..561885e 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -472,7 +472,10 @@ public class NotificationPanelView extends PanelView implements
boolean intercept = false;
if (mLiveLockscreenController.getLiveLockScreenHasFocus()) {
intercept = mAfforanceHelper.onTouchEvent(e);
- if (isCancelOrUp) {
+ // If the touch did not originate on the affordance helper,
+ // we must collapse the panel here since we can't rely on
+ // the swipe callbacks from being invoked.
+ if (isCancelOrUp && !isAffordanceSwipeInProgress()) {
mKeyguardBottomArea.expand(false);
}
if (!intercept) {