diff options
author | 2015-02-05 01:14:45 +0000 | |
---|---|---|
committer | 2015-02-05 01:14:46 +0000 | |
commit | c4977b5f8990ce73a7c9c26daa5b7cfb201fe024 (patch) | |
tree | 27efa0068716a0bedba6dd1ae36e096979f85bc8 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | 7b2646dd58769f7c4a078febfb79810b953bf2ad (diff) | |
parent | a6d2cf5ec71fdba86455ff8281a121f32a3248e3 (diff) | |
download | latinime-c4977b5f8990ce73a7c9c26daa5b7cfb201fe024.tar.gz latinime-c4977b5f8990ce73a7c9c26daa5b7cfb201fe024.tar.xz latinime-c4977b5f8990ce73a7c9c26daa5b7cfb201fe024.zip |
Merge "Removing code from RichInputConnection."
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, 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) |