aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-09-12 12:29:33 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-12 12:29:33 +0000
commit40666017c99ca64c99d540bd21fb8a3d761a6b8d (patch)
tree6577d8f57ea09c2c8be069a39a59db080e1450d2 /java
parenta6dc3056ffefd40e8fa93060d096c80889e82633 (diff)
parentce96d0d12f1e062f1e88930878f119725e6d04a4 (diff)
downloadlatinime-40666017c99ca64c99d540bd21fb8a3d761a6b8d.tar.gz
latinime-40666017c99ca64c99d540bd21fb8a3d761a6b8d.tar.xz
latinime-40666017c99ca64c99d540bd21fb8a3d761a6b8d.zip
Merge "Avoid recorrection in ex-password fields."
Diffstat (limited to '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;