aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-25 21:48:48 +0900
committerJean Chalard <jchalard@google.com>2014-01-17 02:10:51 +0900
commitac6dfaf80bb280cbc9afb2d6e697379b3fd1f373 (patch)
tree17a6fb417475a9212490450a711010c428385c21 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent47f04e2e35832788a84d36a384570f60bbd7da9e (diff)
downloadlatinime-ac6dfaf80bb280cbc9afb2d6e697379b3fd1f373.tar.gz
latinime-ac6dfaf80bb280cbc9afb2d6e697379b3fd1f373.tar.xz
latinime-ac6dfaf80bb280cbc9afb2d6e697379b3fd1f373.zip
[IL58] Simplification
No need to test multiple times for this. Let's just never do useless stuff, and only test for that once. Bug: 8636060 Change-Id: I50a9e4da769fbec44fbb12eedfed03aad924cc2c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index beef7612b..73a144d94 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -1061,8 +1061,6 @@ public final class InputLogic {
// recorrection. This is a temporary, stopgap measure that will be removed later.
// TODO: remove this.
if (settingsValues.isBrokenByRecorrection()) return;
- // A simple way to test for support from the TextView.
- if (!mLatinIME.isSuggestionsStripVisible()) return;
// Recorrection is not supported in languages without spaces because we don't know
// how to segment them yet.
if (!settingsValues.mSpacingAndPunctuations.mCurrentLanguageHasSpaces) return;