Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f128d5d authored by Daniel Sandler's avatar Daniel Sandler Committed by Android Git Automerger
Browse files

am 04f3a973: am 39f8889d: Merge "Fix longpress handler in notifications." into jb-dev

* commit '04f3a973':
  Fix longpress handler in notifications.
parents eafac26a 04f3a973
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -186,6 +186,7 @@ public class SwipeHelper implements Gefingerpoken {
    public void removeLongPressCallback() {
        if (mWatchLongPress != null) {
            mHandler.removeCallbacks(mWatchLongPress);
            mWatchLongPress = null;
        }
    }

@@ -245,6 +246,7 @@ public class SwipeHelper implements Gefingerpoken {
                mCurrView = null;
                mCurrAnimView = null;
                mLongPressSent = false;
                removeLongPressCallback();
                break;
        }
        return mDragging;