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

Commit 5311c447 authored by Adam Powell's avatar Adam Powell
Browse files

Remove View's long press callbacks when ACTION_CANCEL is received

Bug 7391646

Change-Id: Icd100d3eff63a54c892367fb70dec517257a01f8
parent d6e3ad54
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8243,6 +8243,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                case MotionEvent.ACTION_CANCEL:
                    setPressed(false);
                    removeTapCallback();
                    removeLongPressCallback();
                    break;
                case MotionEvent.ACTION_MOVE: