aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-04-19 15:18:20 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-04-19 20:32:57 +0900
commitd9786ce2e389c8c02af7773b53b5c44fe4fa0b0c (patch)
tree69ab2cbc8e2ddf3f706f23dd9a7322df8b40f276 /java/src/com/android/inputmethod/latin/LatinIME.java
parentbc91d8947324e651ea83d6c7654f8365525bb8cf (diff)
downloadlatinime-d9786ce2e389c8c02af7773b53b5c44fe4fa0b0c.tar.gz
latinime-d9786ce2e389c8c02af7773b53b5c44fe4fa0b0c.tar.xz
latinime-d9786ce2e389c8c02af7773b53b5c44fe4fa0b0c.zip
Refactor key preview code
This change removes mOldPreviewKeyIndex from KeyboardView. Bug: 4298393 Change-Id: I832eb6deab7e078609973bf0b8be09f73db204d7
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 88b3ded8e..13ef4ffe8 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -592,7 +592,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
final boolean accessibilityEnabled = mAccessibilityUtils.isAccessibilityEnabled();
- inputView.setPreviewEnabled(mPopupOn);
+ inputView.setKeyPreviewEnabled(mPopupOn);
inputView.setProximityCorrectionEnabled(true);
inputView.setAccessibilityEnabled(accessibilityEnabled);
// If we just entered a text field, maybe it has some old text that requires correction