Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce96d0d1 authored by Jean Chalard's avatar Jean Chalard
Browse files

Avoid recorrection in ex-password fields.

Bug: 10115839
Change-Id: I1f1025c9f28adfb6f5a63d5ba86e359f30c0963e
parent be470f06
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;