diff options
author | 2014-03-27 16:12:58 +0900 | |
---|---|---|
committer | 2014-04-07 15:51:44 +0900 | |
commit | d52bec00695a6e43b8e8836112919c02952d4dcc (patch) | |
tree | 8b7ae40df80965c8c494b1c448a80cf15f37752e /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | 633e4f45330cf32d76c29d999b723ddeafd3a90c (diff) | |
download | latinime-d52bec00695a6e43b8e8836112919c02952d4dcc.tar.gz latinime-d52bec00695a6e43b8e8836112919c02952d4dcc.tar.xz latinime-d52bec00695a6e43b8e8836112919c02952d4dcc.zip |
[CB23] Merge add and deleteLast
Bug: 13406701
Change-Id: Id9a2e4144b1908ad27d78228ee19e6fc4d4d669f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 7ffc95697..7cf8c5e49 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -727,7 +727,7 @@ public final class InputLogic { resetComposingState(false /* alsoResetLastComposedWord */); } if (isComposingWord) { - mWordComposer.add(inputTransaction.mEvent); + mWordComposer.processEvent(inputTransaction.mEvent); // If it's the first letter, make note of auto-caps state if (mWordComposer.isSingleLetter()) { // We pass 1 to getPreviousWordForSuggestion because we were not composing a word @@ -893,7 +893,7 @@ public final class InputLogic { mWordComposer.reset(); mWordComposer.setRejectedBatchModeSuggestion(rejectedSuggestion); } else { - mWordComposer.deleteLast(inputTransaction.mEvent); + mWordComposer.processEvent(inputTransaction.mEvent); } mConnection.setComposingText(getTextWithUnderline(mWordComposer.getTypedWord()), 1); inputTransaction.setRequiresUpdateSuggestions(); |