am 40666017: Merge "Avoid recorrection in ex-password fields."
* commit '40666017c99ca64c99d540bd21fb8a3d761a6b8d': Avoid recorrection in ex-password fields.main
commit
95df0f2b56
|
@ -2671,6 +2671,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
// recorrection. This is a temporary, stopgap measure that will be removed later.
|
// recorrection. This is a temporary, stopgap measure that will be removed later.
|
||||||
// TODO: remove this.
|
// TODO: remove this.
|
||||||
if (mAppWorkAroundsUtils.isBrokenByRecorrection()) return;
|
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
|
// Recorrection is not supported in languages without spaces because we don't know
|
||||||
// how to segment them yet.
|
// how to segment them yet.
|
||||||
if (!mSettings.getCurrent().mCurrentLanguageHasSpaces) return;
|
if (!mSettings.getCurrent().mCurrentLanguageHasSpaces) return;
|
||||||
|
|
Loading…
Reference in New Issue