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

Commit 732ebb1b authored by Adam Powell's avatar Adam Powell
Browse files

Fixed a regression in View.cancelLongPress

parent 1fdaab27
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4323,6 +4323,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
     */
    public void cancelLongPress() {
        removeLongPressCallback();

        /*
         * The prepressed state handled by the tap callback is a display
         * construct, but the tap callback will post a long press callback
         * less its own timeout. Remove it here.
         */
        removeTapCallback();
    }

    /**