diff options
author | 2015-03-20 17:10:29 +0000 | |
---|---|---|
committer | 2015-03-20 17:10:29 +0000 | |
commit | e7430f76d1cd35b49f34b910078db644862c9767 (patch) | |
tree | 1912a2cd158275d4d01bc492f733d7ef1ff0a2a6 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | ca0b50a34a9f441d97c312438a2720cab55618c1 (diff) | |
parent | 755b3d882f9d74ceaec7b59fe618dff3ad54f304 (diff) | |
download | latinime-e7430f76d1cd35b49f34b910078db644862c9767.tar.gz latinime-e7430f76d1cd35b49f34b910078db644862c9767.tar.xz latinime-e7430f76d1cd35b49f34b910078db644862c9767.zip |
am 755b3d88: Notify the facilitator on IME start/finish.
* commit '755b3d882f9d74ceaec7b59fe618dff3ad54f304':
Notify the facilitator on IME start/finish.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 71dc30b2a..790cd6910 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -792,6 +792,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen @SuppressWarnings("deprecation") void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) { super.onStartInputView(editorInfo, restarting); + + mDictionaryFacilitator.onStartInput(); // Switch to the null consumer to handle cases leading to early exit below, for which we // also wouldn't be consuming gesture data. mGestureConsumer = GestureConsumer.NULL_GESTURE_CONSUMER; @@ -970,6 +972,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen void onFinishInputInternal() { super.onFinishInput(); + mDictionaryFacilitator.onFinishInput(); final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView(); if (mainKeyboardView != null) { mainKeyboardView.closing(); |