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

Commit 491d3a9b authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Fix longpress handler in notifications.

Bug: 6452142
Change-Id: Iaa8e189cd1536f2826d5fe3721ead9bc33397711
parent 559146fc
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;