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 02:10:59 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-05 02:10:59 +0000
commit74198f967a84a220f7aade44a21efb1ff6b59d77 (patch)
tree4c4c292f455f3438838f209c908fe1f53019a833 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent7bb8e5083a95999a2dfedfb4232865c13e608e10 (diff)
parentc4977b5f8990ce73a7c9c26daa5b7cfb201fe024 (diff)
downloadlatinime-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/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)