aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-09-12 09:15:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-12 09:15:28 -0700
commit95df0f2b56106e23bfdff4a9534d6a8e1015cb3d (patch)
treefa97c2dab89e7130fcaf4daa18eaf0f08e811699 /java/src/com/android/inputmethod/latin/LatinIME.java
parent712fb6c613884542bde094b5d01e5167b9a76e40 (diff)
parent40666017c99ca64c99d540bd21fb8a3d761a6b8d (diff)
downloadlatinime-95df0f2b56106e23bfdff4a9534d6a8e1015cb3d.tar.gz
latinime-95df0f2b56106e23bfdff4a9534d6a8e1015cb3d.tar.xz
latinime-95df0f2b56106e23bfdff4a9534d6a8e1015cb3d.zip
am 40666017: Merge "Avoid recorrection in ex-password fields."
* commit '40666017c99ca64c99d540bd21fb8a3d761a6b8d': Avoid recorrection in ex-password fields.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index a325c40c4..cdd6c92e4 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -2671,6 +2671,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// recorrection. This is a temporary, stopgap measure that will be removed later.
// TODO: remove this.
if (mAppWorkAroundsUtils.isBrokenByRecorrection()) return;
+ // A simple way to test for support from the TextView.
+ if (!isSuggestionsStripVisible()) return;
// Recorrection is not supported in languages without spaces because we don't know
// how to segment them yet.
if (!mSettings.getCurrent().mCurrentLanguageHasSpaces) return;