diff options
author | 2015-02-04 16:47:56 -0800 | |
---|---|---|
committer | 2015-02-04 16:47:56 -0800 | |
commit | a6d2cf5ec71fdba86455ff8281a121f32a3248e3 (patch) | |
tree | 5dab8977cd48cc3d4dfd8c845e991b4c169f4384 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | f3c319fb8ac29448c491af95261a4ce01b64a59c (diff) | |
download | latinime-a6d2cf5ec71fdba86455ff8281a121f32a3248e3.tar.gz latinime-a6d2cf5ec71fdba86455ff8281a121f32a3248e3.tar.xz latinime-a6d2cf5ec71fdba86455ff8281a121f32a3248e3.zip |
Removing code from RichInputConnection.
Followup CL that removes some more unused methods and variables.
Change-Id: I4163c7cd017f59d1fd445adb6294fc89dcaafe6e
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 18927ce85..86ed4aaab 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -475,8 +475,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. @@ -767,10 +765,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) |