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

Commit dcfb271b authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Code Review
Browse files

Merge "Fix if ACTION_DOWN and lost focus time too close, it will become long press."

parents 91512f57 26edf20a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3808,6 +3808,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
                imm.focusOut(this);
            }
            removeLongPressCallback();
            removeTapCallback();
            onFocusLost();
        } else if (imm != null && (mPrivateFlags & FOCUSED) != 0) {
            imm.focusIn(this);