summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java
index 8e418b793be0..845255dea0a1 100644
--- a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java
+++ b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java
@@ -362,7 +362,7 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
private final TouchHandler mTouchHandler = new TouchHandler();
private long mDownTime;
- private long mStatusBarLongPressDowntime;
+ private long mStatusBarLongPressDowntime = -1L;
private boolean mTouchSlopExceededBeforeDown;
private float mOverExpansion;
private CentralSurfaces mCentralSurfaces;
@@ -3709,7 +3709,7 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
private void endMotionEvent(MotionEvent event, float x, float y, boolean forceCancel) {
mShadeLog.logEndMotionEvent("endMotionEvent called", forceCancel, false);
mTrackingPointer = -1;
- mStatusBarLongPressDowntime = 0L;
+ mStatusBarLongPressDowntime = -1L;
mAmbientState.setSwipingUp(false);
if ((isTracking() && mTouchSlopExceeded) || Math.abs(x - mInitialExpandX) > mTouchSlop
|| Math.abs(y - mInitialExpandY) > mTouchSlop
@@ -5105,7 +5105,7 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
mUpdateFlingOnLayout = false;
mMotionAborted = false;
mDownTime = mSystemClock.uptimeMillis();
- mStatusBarLongPressDowntime = 0L;
+ mStatusBarLongPressDowntime = -1L;
mTouchAboveFalsingThreshold = false;
mCollapsedAndHeadsUpOnDown =
isFullyCollapsed() && mHeadsUpManager.hasPinnedHeadsUp();