aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorDan Zivkovic <zivkovic@google.com>2015-02-05 01:14:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-05 01:14:46 +0000
commitc4977b5f8990ce73a7c9c26daa5b7cfb201fe024 (patch)
tree27efa0068716a0bedba6dd1ae36e096979f85bc8 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent7b2646dd58769f7c4a078febfb79810b953bf2ad (diff)
parenta6d2cf5ec71fdba86455ff8281a121f32a3248e3 (diff)
downloadlatinime-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.java6
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)