diff options
author | 2014-07-30 16:57:56 +0000 | |
---|---|---|
committer | 2014-07-30 16:57:56 +0000 | |
commit | 93114fa05f974fb6955937efe3207e025d5a82c5 (patch) | |
tree | 7c326324b70c8c73ec6cf08021871a61ad8794e4 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | 55387ba41731460a412fe4f39c081ff9f6a550f2 (diff) | |
parent | c4f6fc1e4868feb7bcbf2b0dc724eb9ed995780e (diff) | |
download | latinime-93114fa05f974fb6955937efe3207e025d5a82c5.tar.gz latinime-93114fa05f974fb6955937efe3207e025d5a82c5.tar.xz latinime-93114fa05f974fb6955937efe3207e025d5a82c5.zip |
am c4f6fc1e: Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
* commit 'c4f6fc1e4868feb7bcbf2b0dc724eb9ed995780e':
Revert "[HW6] Split processing and applying the event."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index bb2d304a6..74d879919 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -762,8 +762,7 @@ public final class InputLogic { resetComposingState(false /* alsoResetLastComposedWord */); } if (isComposingWord) { - final Event processedEvent = mWordComposer.processEvent(inputTransaction.mEvent); - mWordComposer.applyProcessedEvent(processedEvent); + mWordComposer.processEvent(inputTransaction.mEvent); // If it's the first letter, make note of auto-caps state if (mWordComposer.isSingleLetter()) { mWordComposer.setCapitalizedModeAtStartComposingTime(inputTransaction.mShiftState); @@ -934,8 +933,7 @@ public final class InputLogic { mDictionaryFacilitator.removeWordFromPersonalizedDicts(rejectedSuggestion); } } else { - final Event processedEvent = mWordComposer.processEvent(inputTransaction.mEvent); - mWordComposer.applyProcessedEvent(processedEvent); + mWordComposer.processEvent(inputTransaction.mEvent); } if (mWordComposer.isComposingWord()) { mConnection.setComposingText(getTextWithUnderline(mWordComposer.getTypedWord()), 1); |