diff options
author | 2012-12-26 15:38:53 +0900 | |
---|---|---|
committer | 2012-12-27 16:17:49 +0900 | |
commit | 997cba7decce9694b3c2f9487deb9710ebb19595 (patch) | |
tree | 4ff4f1294e5732d9392ba63e3078d4c765937d76 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 581f324ed8314befdf7d8cf1c923791455cc11a5 (diff) | |
download | latinime-997cba7decce9694b3c2f9487deb9710ebb19595.tar.gz latinime-997cba7decce9694b3c2f9487deb9710ebb19595.tar.xz latinime-997cba7decce9694b3c2f9487deb9710ebb19595.zip |
Start committing hardware events (B4)
Essentially this does activate auto-correction with a hardware
keyboard, although a lot of things are still left to implement.
No proximity is used yet which means only missing and excessive
letters are considered. Dead keys are not handled. No combiner
is supported. No suggestions are displayed. Resuming suggestions
does not work correctly with a hardware key (because the view
holds a temporary hardware event 'onKeyPreIme' and the event
from the IME won't be handled until this is handled which won't
happen until after the IME said that it did handle the event).
Bug: 5037589
Change-Id: Idcb5c7b26d56717ed772d53c062362807f11cdae
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
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 85ec11018..3ee4459e4 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -145,7 +145,7 @@ public final class LatinIME extends InputMethodService implements KeyboardAction private final SubtypeState mSubtypeState = new SubtypeState(); // At start, create a default event interpreter that does nothing by passing it no decoder spec. // The event interpreter should never be null. - private EventInterpreter mEventInterpreter = new EventInterpreter(); + private EventInterpreter mEventInterpreter = new EventInterpreter(this); private boolean mIsMainDictionaryAvailable; private UserBinaryDictionary mUserDictionary; |