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

Commit 4e112d07 authored by Jean Chalard's avatar Jean Chalard
Browse files

Replace a useless computation with a constant

This is provably always false

Change-Id: I88d783fa59fec0b7a729558ba974a6a58c158645
parent a04d2358
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -980,7 +980,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
                    .setHasMinimalSuggestion(false);
            // When in fullscreen mode, show completions generated by the application
            final SuggestedWords words = builder.build();
            final boolean isAutoCorrection = Utils.willAutoCorrect(words);
            final boolean isAutoCorrection = false;
            setSuggestions(words, isAutoCorrection);
            setAutoCorrectionIndicator(isAutoCorrection);
            // TODO: is this the right thing to do? What should we auto-correct to in