diff options
author | 2015-02-05 02:10:59 +0000 | |
---|---|---|
committer | 2015-02-05 02:10:59 +0000 | |
commit | 74198f967a84a220f7aade44a21efb1ff6b59d77 (patch) | |
tree | 4c4c292f455f3438838f209c908fe1f53019a833 /java/src/com/android/inputmethod/latin/inputlogic | |
parent | 7bb8e5083a95999a2dfedfb4232865c13e608e10 (diff) | |
parent | c4977b5f8990ce73a7c9c26daa5b7cfb201fe024 (diff) | |
download | latinime-74198f967a84a220f7aade44a21efb1ff6b59d77.tar.gz latinime-74198f967a84a220f7aade44a21efb1ff6b59d77.tar.xz latinime-74198f967a84a220f7aade44a21efb1ff6b59d77.zip |
am c4977b5f: Merge "Removing code from RichInputConnection."
* commit 'c4977b5f8990ce73a7c9c26daa5b7cfb201fe024':
Removing code from RichInputConnection.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 12c384d69..3b76fefa2 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -476,8 +476,6 @@ public final class InputLogic { ++mAutoCommitSequenceNumber; mConnection.beginBatchEdit(); if (!mWordComposer.isComposingWord()) { - mConnection.removeBackgroundColorFromHighlightedTextIfNecessary(); - } else { if (mWordComposer.isCursorFrontOrMiddleOfComposingWord()) { // If we are in the middle of a recorrection, we need to commit the recorrection // first so that we can insert the batch input at the current cursor position. @@ -768,10 +766,6 @@ public final class InputLogic { final InputTransaction inputTransaction, // TODO: remove this argument final LatinIME.UIHandler handler) { - if (!mWordComposer.isComposingWord()) { - mConnection.removeBackgroundColorFromHighlightedTextIfNecessary(); - } - final int codePoint = event.mCodePoint; mSpaceState = SpaceState.NONE; if (inputTransaction.mSettingsValues.isWordSeparator(codePoint) |