diff options
Diffstat (limited to 'java/com/android/dialer/dialpadview/DialpadKeyButton.java')
-rw-r--r-- | java/com/android/dialer/dialpadview/DialpadKeyButton.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/java/com/android/dialer/dialpadview/DialpadKeyButton.java b/java/com/android/dialer/dialpadview/DialpadKeyButton.java index 24ca9cc86..0c842ebb5 100644 --- a/java/com/android/dialer/dialpadview/DialpadKeyButton.java +++ b/java/com/android/dialer/dialpadview/DialpadKeyButton.java @@ -167,17 +167,15 @@ public class DialpadKeyButton extends FrameLayout { break; case MotionEvent.ACTION_HOVER_EXIT: if (mHoverBounds.contains(event.getX(), event.getY())) { - if (mLongHovered) { - performLongClick(); - } else { - simulateClickForAccessibility(); - } + simulateClickForAccessibility(); } cancelLongHover(); setClickable(mWasClickable); setLongClickable(mWasLongClickable); break; + default: // No-op + break; } } |