diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-09-18 16:25:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-09-18 16:25:51 +0000 |
commit | 028214026f4d8cd7d8d5d7a868386a0c7faf14b1 (patch) | |
tree | 72ac9512da41f6ee50078a1e7905f9ad27009b1b /java | |
parent | cceef72738753b896d9cc8e99d05b04a612a5fee (diff) | |
parent | a9eae7e6b840f2e48e05cd06a3a03567decdb31e (diff) |
Merge "Dialpad VM and + are now only accessible w/ double-tap instead of long hover."
Diffstat (limited to '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; } } |