diff options
| author | Tadashi G. Takaoka <takaoka@google.com> | 2011-05-25 15:22:03 +0900 |
|---|---|---|
| committer | Tadashi G. Takaoka <takaoka@google.com> | 2011-05-25 15:22:03 +0900 |
| commit | e07b51e7c65220ac183546103010dd617d164f60 (patch) | |
| tree | d6085868dcd6279830aac7eddf3172c48f3ee939 /java/src/com/android/inputmethod/keyboard/KeyboardView.java | |
| parent | ee80a77ebf5fa1a70a2766e048157d02cef30626 (diff) | |
Enable long press even if the key is disabled
Change-Id: Iddab254c7d6625bf44473109b4a52d2f7a163a27
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/KeyboardView.java')
| -rw-r--r-- | java/src/com/android/inputmethod/keyboard/KeyboardView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java index 1df6444a0..1e7a0618e 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java @@ -876,6 +876,8 @@ public class KeyboardView extends View implements PointerTracker.UIProxy { // Dismiss key preview (in this case, slide language switcher) without any delay. mPreviewText.setVisibility(View.INVISIBLE); } + // Clear key preview display position. + mKeyPreviewPopupDisplayedY = -1; } private void addKeyPreview(TextView keyPreview) { |
